summaryrefslogtreecommitdiff
path: root/network/xinetd/rc.xinetd
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2012-11-25 20:41:40 -0600
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:20:48 -0500
commitdfb782844d895d93cc8abb8bb326d85487b01e16 (patch)
treedf649250683435fd4768a04b8270b763ab2eb8e2 /network/xinetd/rc.xinetd
parent4ed01224d9fc8d361d37e0ecd91a1f4df9f909b9 (diff)
downloadslackbuilds-dfb782844d895d93cc8abb8bb326d85487b01e16.tar.gz
network/xinetd: Updated for version 2.3.15.
Also create /var/lock/subsys/ in rc.xinetd instead of putting it inside the package; this handles the case where a sysadmin puts /var/lock as tmpfs (e.g. /var/lock -> /run/lock) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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