fix ssh reconfigure

This commit is contained in:
parazyd 2016-11-13 12:47:28 +01:00
parent 5f988be6b8
commit 75a22f1134
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 5 additions and 5 deletions

View File

@ -193,8 +193,8 @@ EOF
# #
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: something # Provides: something
# Required-Start: $syslog # Required-Start: \$syslog
# Required-Stop: $syslog # Required-Stop: \$syslog
# Default-Start: 2 3 4 5 # Default-Start: 2 3 4 5
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: Regenerate openssh-server keys # Short-Description: Regenerate openssh-server keys
@ -211,13 +211,13 @@ genkeys() {
/usr/sbin/update-rc.d regensshkeys disable /usr/sbin/update-rc.d regensshkeys disable
} }
case "$1" in case "\$1" in
start) start)
genkeys genkeys;;
stop) stop)
;; ;;
*) *)
echo "usage: $(basename $0) {start}" echo "usage: \$(basename \$0) {start}"
;; ;;
esac esac
EOF EOF