3 # /etc/rc.d/init.d/utmpd
5 # Starts the utmpd daemon
8 # description: Utmpd daemon
11 export PATH=/bin:/usr/bin:/sbin:/usr/sbin
13 # Source function library.
14 . /etc/rc.d/init.d/functions
16 # See how we were called.
20 show Starting utmpd daemon
21 # Clean up /var/run and create /var/run/utmp so that we can login.
22 #( cd /var/run && find . ! -type d -exec rm -f -- {} \; )
25 if [ ! -f /var/log/wtmpx ]; then
29 touch /var/lock/subsys/utmpd
32 show Stopping utmpd daemon
34 rm -f /var/lock/subsys/utmpd
44 echo "Usage: $0 {start|stop|restart|reload|status}"