* Disable writing dhclient debug info to /tmp/dhcp-exit.
svn path=/nixos/trunk/; revision=22962
This commit is contained in:
parent
255a56fbc5
commit
793767870a
@ -14,8 +14,8 @@ let
|
|||||||
|
|
||||||
dhclientExitHooks = pkgs.writeText "dhclient-exit-hooks"
|
dhclientExitHooks = pkgs.writeText "dhclient-exit-hooks"
|
||||||
''
|
''
|
||||||
echo "$reason" >> /tmp/dhcp-exit
|
#echo "$reason" >> /tmp/dhcp-exit
|
||||||
echo "$exit_status" >> /tmp/dhcp-exit
|
#echo "$exit_status" >> /tmp/dhcp-exit
|
||||||
|
|
||||||
if test "$reason" = BOUND -o "$reason" = REBOOT; then
|
if test "$reason" = BOUND -o "$reason" = REBOOT; then
|
||||||
${pkgs.glibc}/sbin/nscd --invalidate hosts
|
${pkgs.glibc}/sbin/nscd --invalidate hosts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user