Changed files:
bootparamd.init -> 1.6
# See how we were called.
case "$1" in
start)
# See how we were called.
case "$1" in
start)
daemon rpc.bootparamd
touch /var/lock/subsys/rpc.bootparamd
RETVAL=$?
daemon rpc.bootparamd
touch /var/lock/subsys/rpc.bootparamd
RETVAL=$?
- if [ $RETVAL -eq 0 ]; then
- touch /var/lock/subsys/rpc.bootparamd
- RETVAL=1
- fi
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/rpc.bootparamd
else
msg_already_running rpc.bootparamd
else
msg_already_running rpc.bootparamd
rm -f /var/lock/subsys/rpc.bootparamd >/dev/null 2>&1
else
msg_not_running rpc.bootparamd
rm -f /var/lock/subsys/rpc.bootparamd >/dev/null 2>&1
else
msg_not_running rpc.bootparamd
fi
;;
status)
status rpc.bootparamd
fi
;;
status)
status rpc.bootparamd
- reload|restart|force-reload)
- msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
- exit 1
+ msg_usage "$0 {start|stop|restart|force-reload|status}"
+ exit 3