summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/rc.xinetd-diversion.patch
blob: c99ed7c1ec9e7afaf05e371f1b8b35bd38bd58fa (plain)
1
2
3
4
5
6
7
8
9
10
--- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.xinetd.orig	2004-07-27 23:37:55.000000000 -0400
+++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.xinetd	2004-09-01 21:59:34.000000000 -0400
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+if ( [ -f /unslung/rc.xinetd ] && . /unslung/rc.xinetd ) ; then return 0 ; fi
+
 if [ -n "`pidof inetd`" ] ;then
    killall inetd 2>/dev/null
 #   killall -9 inetd &>/dev/null