summaryrefslogtreecommitdiff
path: root/network/xinetd/rc.xinetd
diff options
context:
space:
mode:
Diffstat (limited to 'network/xinetd/rc.xinetd')
-rw-r--r--network/xinetd/rc.xinetd2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/xinetd/rc.xinetd b/network/xinetd/rc.xinetd
index 44f153b1ba..17ee20df28 100644
--- a/network/xinetd/rc.xinetd
+++ b/network/xinetd/rc.xinetd
@@ -17,6 +17,8 @@ start(){
LC_COLLATE=en_US
export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE
unset HOME MAIL USER USERNAME
+ # Make sure /var/lock/subsys exists
+ mkdir -p /var/lock/subsys
/usr/sbin/xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/xinetd