We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af301d commit 063c7acCopy full SHA for 063c7ac
airprint_bridge.sh
@@ -81,7 +81,7 @@ check_cups_permissions() {
81
log "CUPS does not allow remote access to shared printers. Backing up cups config to cupsd_conf.bak, and auto fixing"
82
83
[ ! -f "${cupsd_conf}.bak" ] && sudo cp "$cupsd_conf" "${cupsd_conf}.bak"
84
- sudo sed -i '' '/<Location \/>/,/<\/Location>/ s/Order allow,deny/Require all granted/' "$cupsd_conf"
+ sudo sed -i '' '/<Location \/>/,/<\/Location>/ s/Order allow,deny/Order allow,deny\n Allow @LOCAL/' "$cupsd_conf"
85
if sudo cupsd -t; then
86
sudo launchctl stop org.cups.cupsd
87
sudo launchctl start org.cups.cupsd
0 commit comments