diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-01-13 20:07:52 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-01-13 20:07:52 +0000 |
commit | e0bcb4d5442b6e1e855122a9a485add0031c45aa (patch) | |
tree | da81203634c946255e2198f397d5fd7284f67e77 /sys-apps/xinetd/files | |
parent | *** empty log message *** (diff) | |
download | historical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.tar.gz historical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.tar.bz2 historical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-x | sys-apps/xinetd/files/svc-xinetd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/xinetd/files/svc-xinetd b/sys-apps/xinetd/files/svc-xinetd index 2fb309754ecd..4b0d40970012 100755 --- a/sys-apps/xinetd/files/svc-xinetd +++ b/sys-apps/xinetd/files/svc-xinetd @@ -3,7 +3,7 @@ . /etc/rc.d/config/functions -SERVICE=svc-xinetd +SERVICE=xinetd opts="start stop" prepconfig() { @@ -23,13 +23,14 @@ prepconfig() { } start() { - ebegin "Starting ${SERVICE}" + prepconfig + ebegin "Starting supervised ${SERVICE}" ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE} eend $? } stop() { - ebegin "Stopping ${SERVICE}" + ebegin "Stopping supervised ${SERVICE}" if [ -e ${SVCDIR}/control/${SERVICE} ] then /usr/bin/svc -dx ${SVCDIR}/control/${SERVICE} |