]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- removed some obsolete rc-script macros + some minor changes
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 23 Jan 2002 02:10:39 +0000 (02:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensshd.init -> 1.11

opensshd.init

index 47112b17d11295d933f8c249ee8de98af0a83b76..7cfea0e59d891e0df7047e35cda4ae299fa3baa3 100644 (file)
@@ -20,7 +20,7 @@
 
 # Check that networking is up.
 if is_no "${NETWORKING}"; then
-        msg_Network_Down OpenSSH
+        msg_network_down OpenSSH
         exit 1
 fi
                        
@@ -43,7 +43,7 @@ case "$1" in
        fi
 
        if [ ! -f /etc/ssh/ssh_host_key ]; then
-               msg_Not_Running OpenSSH
+               msg_not_running OpenSSH
                nls "No SSH host key found! You must run \"$0 init\" first."
                exit 1
        fi
@@ -55,7 +55,7 @@ case "$1" in
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd                
        else
-               msg_Already_Running OpenSSH
+               msg_already_running OpenSSH
        fi
        ;;
   stop)
@@ -64,7 +64,7 @@ case "$1" in
                killproc sshd
                rm -f /var/run/sshd.pid /var/lock/subsys/sshd >/dev/null 2>&1
        else
-               msg_Not_Running OpenSSH
+               msg_not_running OpenSSH
                exit 1
        fi      
        ;;
@@ -93,7 +93,7 @@ case "$1" in
        killproc sshd -HUP
        ;;
   *)
-       msg_Usage "$0 {start|stop|init|status|restart|reload}"
+       msg_usage "$0 {start|stop|init|status|restart|reload}"
        exit 1
 esac
 
This page took 0.143213 seconds and 4 git commands to generate.