Loading fix_cups.sh +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ net=$(ip a | awk '/inet 10\./{print $2}' | head -n 1 | cut -d . -f 1-3) ip="$net.3" file="/etc/cups/cups-browsed.conf" if [ -z "$(grep "$ip" $file)" ] if [ -z "$(grep $ip $file)" ] then echo BrowseAllow $ip >> $file echo BrowsePoll $ip >> $file Loading Loading
fix_cups.sh +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ net=$(ip a | awk '/inet 10\./{print $2}' | head -n 1 | cut -d . -f 1-3) ip="$net.3" file="/etc/cups/cups-browsed.conf" if [ -z "$(grep "$ip" $file)" ] if [ -z "$(grep $ip $file)" ] then echo BrowseAllow $ip >> $file echo BrowsePoll $ip >> $file Loading