aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-02-27 09:19:38 +0800
committerTom Gundersen <teg@jklm.no>2011-04-04 03:08:08 +0800
commit25c74161a16969cd57f583f927802969d4737225 (patch)
tree040095e9e2a73197c368e19b2241bba9fa8e30ab /rc.shutdown
parent2955415f0624c06991f8609668465e29ca9ff003 (diff)
downloadinitscripts-25c74161a16969cd57f583f927802969d4737225.tar.xz
workaround: do not unset NIS on shutdown
If this bug is still present (after more than 4 years) it should be reported and fixed in syslog-ng. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 4c5a3f8..106c3df 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -15,8 +15,6 @@ echo " "
printhl "Initiating Shutdown..."
echo " "
-# avoid NIS hanging syslog-ng on shutdown by unsetting the domainname
-[[ -x /bin/domainname ]] && /bin/domainname ""
[[ -x /etc/rc.local.shutdown ]] && /etc/rc.local.shutdown
kill_everything shutdown