summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-02 05:24:04 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-02 05:24:04 +0000
commitc5402830ccfb73310ac53831fda8ec1550981215 (patch)
tree7525e6e3b3afc73a0f6a60c148bcaee63d143942 /sys-apps/xinetd/files
parentscript fixies (diff)
downloadgentoo-2-c5402830ccfb73310ac53831fda8ec1550981215.tar.gz
gentoo-2-c5402830ccfb73310ac53831fda8ec1550981215.tar.bz2
gentoo-2-c5402830ccfb73310ac53831fda8ec1550981215.zip
add references to easily found samples
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-xsys-apps/xinetd/files/svc-xinetd1
-rw-r--r--sys-apps/xinetd/files/xinetd.rc53
-rw-r--r--sys-apps/xinetd/files/xinetd.rc64
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() {