diff --git a/pkgs/servers/server-scripts/generic/functions b/pkgs/servers/server-scripts/generic/functions index 6ed24b3d758..ceb46a48149 100644 --- a/pkgs/servers/server-scripts/generic/functions +++ b/pkgs/servers/server-scripts/generic/functions @@ -76,3 +76,7 @@ status() { echo "stopped" fi } + +name() { + echo $prog +} diff --git a/pkgs/servers/ssh-script/sshd b/pkgs/servers/ssh-script/sshd index 5668f8f9c23..6dd7131bc41 100755 --- a/pkgs/servers/ssh-script/sshd +++ b/pkgs/servers/ssh-script/sshd @@ -153,6 +153,9 @@ case "$1" in status $SSHD RETVAL=$? ;; + name) + name + ;; *) echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}" RETVAL=1