examples/var_service/dhcp_if: make helper scripts more talkative

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2022-05-12 11:07:12 +02:00
parent 1099a27696
commit b9c2108b26
4 changed files with 16 additions and 10 deletions

View File

@@ -38,12 +38,10 @@ file_ntpconf="$service.ntpconf"
dir_ipconf="/var/run/service/fw"
dir_ntpconf="/var/run/service/ntpd"
exec >/dev/null
#exec >>"$0.out" #debug
#exec >/dev/null
#exec >"$0.out" #debug
exec 2>&1
echo "`date`: Params: $*"
if test x"$1" != x"bound" && test x"$1" != x"renew" ; then
# Reconfigure network with this interface disabled
echo "Deconfiguring"