3 # /etc/rc.d/init.d/utmpd
5 # Starts the utmpd daemon
7 # chkconfig: 2345 25 55
8 # description: Utmpd daemon
11 # Source function library.
12 . /etc/rc.d/init.d/functions
14 # See how we were called.
18 show Starting utmpd daemon
19 # Clean up /var/run and create /var/run/utmp so that we can login.
20 #( cd /var/run && find . ! -type d -exec rm -f -- {} \; )
23 if [ ! -f /var/log/wtmpx ]; then
27 touch /var/lock/subsys/utmpd
30 show Stopping utmpd daemon
32 rm -f /var/lock/subsys/utmpd
42 echo "Usage: $0 {start|stop|restart|reload|status}"