Removed logging
This commit is contained in:
parent
49512cede1
commit
f4a2be4157
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,6 @@ blacklist=( 'reddit.com'
|
||||||
case $1 in
|
case $1 in
|
||||||
work)
|
work)
|
||||||
[[ -e $backupfile ]] && {
|
[[ -e $backupfile ]] && {
|
||||||
print -- "$backupfile already exists, wou are in working mode" >&2
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
\cp $hostfile $backupfile
|
\cp $hostfile $backupfile
|
||||||
|
@ -58,6 +57,7 @@ play)
|
||||||
} >&2
|
} >&2
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ -e /etc/init.d/networking ]] && \
|
[[ -e /etc/init.d/networking ]] && {
|
||||||
/etc/init.d/networking stop && \
|
/etc/init.d/networking stop &&
|
||||||
/etc/init.d/networking start
|
/etc/init.d/networking start
|
||||||
|
} >/dev/null >&2
|
||||||
|
|
Loading…
Reference in a new issue