Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
blocksshd
> blocksshd-redhat-init.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File blocksshd-redhat-init.diff of Package blocksshd (Revision 11)
Currently displaying revision
11
,
show latest
--- blocksshd-1.1/init/blocksshd.orig 2008-01-22 12:45:13.000000000 +0100 +++ blocksshd-1.1/init/blocksshd 2008-01-22 14:53:58.000000000 +0100 @@ -30,7 +30,7 @@ RETVAL=$? echo [ $RETVAL = 0 ] && touch /var/lock/subsys/blocksshd - return $RETVAL + $STARTCMD ;; stop) # Stop daemon. @@ -39,8 +39,9 @@ RETVAL=$? echo [ $RETVAL = 0 ] && rm -f /var/lock/subsys/blocksshd + $STOPCMD ;; - reload) + reload|restart) $0 stop $0 start exit $? @@ -50,7 +51,7 @@ echo ;; *) - echo "Usage: blocksshd {start|stop|reloadi|status}" + echo "Usage: blocksshd {start|stop|reload|restart|status}" exit 1 esac