summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {