Unverified Commit 05fb02e9 authored by David Beniamine's avatar David Beniamine
Browse files

Fixup

parent 81cfcd22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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