From ef6a41ebd7e2ab216e4b950df2a6d0826aef39b7 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Wed, 8 Nov 2006 20:01:06 +0000 Subject: patch from Paul to disable NIS domainname before shutting down (syslog-ng was hanging). Also added a 2>/dev/null to fsck during startup --- rc.shutdown | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index aae042e..d0a094e 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -13,6 +13,11 @@ echo " " printhl "Initiating Shutdown..." echo " " +# avoid NIS hanging syslog-ng on shutdown by unsetting the domainname +if [ -x /bin/domainname ]; then + /bin/domainname "" +fi + if [ -x /etc/rc.local.shutdown ]; then /etc/rc.local.shutdown fi -- cgit v1.2.3