fix some brainfarts

svn path=/nixpkgs/trunk/; revision=5021
This commit is contained in:
Armijn Hemel
2006-03-10 13:32:54 +00:00
parent 742c1ef85e
commit 6562861ba4
6 changed files with 45 additions and 15 deletions

View File

@@ -8,7 +8,7 @@
# processname: sshd
# source function library
#. @initscripts@/etc/rc.d/init.d/functions
source @initscripts@/functions
# pull in sysconfig settings
#[ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
@@ -16,23 +16,23 @@
RETVAL=0
prog=@nicename@
start()
startService()
{
# just do networking
echo -n $"Starting $prog:"
echo -n "Starting $prog:"
@syslog@/usr/sbin/syslogd
@syslog@/usr/sbin/klogd
}
stop()
stopService()
{
echo -n $"Stopping $prog:"
echo -n "Stopping $prog:"
}
reload()
reloadService()
{
start
stop
start
}
case "$1" in
@@ -50,7 +50,7 @@ case "$1" in
reload
;;
status)
echo "all OK"
status
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status}"