Fixup

parent 81cfcd22
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment