]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- enable be verbose during stop/start/restart rc script for utmpd.
authorkloczek <kloczek@pld-linux.org>
Thu, 10 Jun 1999 16:51:42 +0000 (16:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc.spec -> 1.48

glibc.spec

index e0391e5c57e7f4a14b292b3789166b5b3059fc83..09dd11bf5a0463566c0976c906f96d00c15f2531 100644 (file)
@@ -254,20 +254,22 @@ fi
 %preun -n nscd
 if [ "$1" = "0" ]; then
        /sbin/chkconfig --del nscd
-       /etc/rc.d/init.d/nscd stop &>/dev/null
+       /etc/rc.d/init.d/nscd stop
 fi
 
 %post -n utmpd
 /sbin/chkconfig --add utmpd
 
 if [ -f /var/lock/subsys/utmpd ]; then
-       /etc/rc.d/init.d/utmpd restart &>/dev/null
+       /etc/rc.d/init.d/utmpd restart
 fi
 
 %preun -n utmpd
 if [ "$1" = "0" ]; then
        /sbin/chkconfig --del utmpd
-       /etc/rc.d/init.d/utmpd stop &>/dev/null
+       /etc/rc.d/init.d/utmpd stop
+else
+       echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon."
 fi
 
 %clean
This page took 0.160299 seconds and 4 git commands to generate.