diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-09-02 05:24:04 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-09-02 05:24:04 +0000 |
commit | 6a73a2e49cea7b0edde9f88eceaf11422f8e026d (patch) | |
tree | 436581f4331464a9fc410bcad371343181480a27 /sys-apps/xinetd/files | |
parent | script fixies (diff) | |
download | historical-6a73a2e49cea7b0edde9f88eceaf11422f8e026d.tar.gz historical-6a73a2e49cea7b0edde9f88eceaf11422f8e026d.tar.bz2 historical-6a73a2e49cea7b0edde9f88eceaf11422f8e026d.zip |
add references to easily found samples
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-x | sys-apps/xinetd/files/svc-xinetd | 1 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd.rc5 | 3 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd.rc6 | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/sys-apps/xinetd/files/svc-xinetd b/sys-apps/xinetd/files/svc-xinetd index a8123b64e8fb..25deec523d8b 100755 --- a/sys-apps/xinetd/files/svc-xinetd +++ b/sys-apps/xinetd/files/svc-xinetd @@ -10,6 +10,7 @@ autoconfig() { if [ ! -e /etc/xinetd.conf ] ; then if [ ! -e /etc/inetd.conf ] ; then eerror "You need an /etc/xinetd.conf file to run xinetd!" + eerror "There are samples in docs/xinetd, docs/netkit-base" exit 1 else einfo "Auto-creating xinetd.conf from your inetd.conf.." diff --git a/sys-apps/xinetd/files/xinetd.rc5 b/sys-apps/xinetd/files/xinetd.rc5 index 8e04dba33cf2..4cc809feb098 100644 --- a/sys-apps/xinetd/files/xinetd.rc5 +++ b/sys-apps/xinetd/files/xinetd.rc5 @@ -10,7 +10,8 @@ opts="start stop" autoconfig() { if [ ! -e /etc/xinetd.conf ] ; then if [ ! -e /etc/inetd.conf ] ; then - eerror "You need an /etc/xinetd.conf file to run xinetd!" + eerror "You need an /etc/xinetd.conf file to run xinetd" + eerror "There are samples in docs/xinetd, docs/netkit-base" exit 1 else einfo "Auto-creating xinetd.conf from your inetd.conf.." diff --git a/sys-apps/xinetd/files/xinetd.rc6 b/sys-apps/xinetd/files/xinetd.rc6 index e9e079c04e4e..01c2d80ebfd3 100644 --- a/sys-apps/xinetd/files/xinetd.rc6 +++ b/sys-apps/xinetd/files/xinetd.rc6 @@ -8,13 +8,15 @@ autoconfig() { if [ ! -e /etc/xinetd.conf ] ; then if [ ! -e /etc/inetd.conf ] ; then eerror "You need an /etc/xinetd.conf file to run xinetd" + eerror "There are samples in docs/xinetd, docs/netkit-base" return 1 else einfo "Auto-creating xinetd.conf from your inetd.conf.." /usr/sbin/xconv.pl < /etc/inetd.conf > /etc/xinetd.conf + fi fi - return + return # sneaky? } start() { |