summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-01-01 23:26:52 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-01-01 23:26:52 +0000
commit6a579cfd977ebfe84fdee23d1353386aea4d026c (patch)
treeff0c1fad7c63ecc999a1a6e3f8554b1210f8eb94 /net-misc/openssh
parentSamba now has supervise/multilog support (diff)
downloadgentoo-2-6a579cfd977ebfe84fdee23d1353386aea4d026c.tar.gz
gentoo-2-6a579cfd977ebfe84fdee23d1353386aea4d026c.tar.bz2
gentoo-2-6a579cfd977ebfe84fdee23d1353386aea4d026c.zip
Some minor fixes (eliminating extra "...")
Diffstat (limited to 'net-misc/openssh')
-rwxr-xr-xnet-misc/openssh/files/sshd20
1 files changed, 10 insertions, 10 deletions
diff --git a/net-misc/openssh/files/sshd b/net-misc/openssh/files/sshd
index 6d9aed561bfc..f08dfcf7c6b3 100755
--- a/net-misc/openssh/files/sshd
+++ b/net-misc/openssh/files/sshd
@@ -13,12 +13,12 @@ EXE=/usr/sbin/sshd
gen_keys() {
if [ ! -e /etc/ssh/ssh_host_key ] ; then
- einfo "Generate Hostkey..."
+ einfo "Generating Hostkey..."
/usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''
fi
if [ ! -e /etc/ssh/ssh_host_dsa_key ] ; then
- einfo "Generate DSA-Hostkey..."
+ einfo "Generating DSA-Hostkey..."
/usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N ''
fi
@@ -27,32 +27,32 @@ gen_keys() {
start() {
gen_keys
- ebegin "Starting $SERVICE..."
+ ebegin "Starting $SERVICE"
start-stop-daemon --start --quiet --exec $EXE
- eend $? "Started $SERVICE." "Error Starting $SERVICE."
+ eend $? "Started $SERVICE." "Error starting $SERVICE."
}
stop() {
- ebegin "Stopping $SERVICE..."
+ ebegin "Stopping $SERVICE"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE
- eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
+ eend $? "Stopped $SERVICE." "Error stopping $SERVICE."
}
supervise_start() {
gen_keys
- ebegin "Starting $SERVICE supervised..."
+ ebegin "Starting supervised $SERVICE"
/usr/bin/svc -u /etc/supervise/sshd
- eend $? "Started $SERVICE." "Error Starting $SERVICE supervised."
+ eend $? "Started $SERVICE." "Error starting supervised $SERVICE."
}
supervise_stop() {
- ebegin "Stopping $SERVICE supervised..."
+ ebegin "Stopping supervised $SERVICE"
/usr/bin/svc -d /etc/supervise/sshd
- eend $? "Stopped $SERVICE." "Error Stopping $SERVICE supervised."
+ eend $? "Stopped $SERVICE." "Error stopping supervised $SERVICE."
}
restart() {