summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/rc.network-diversion.patch
blob: 0cb2a666663fd92ecbc74c83565523181209b63e (plain)
1
2
3
4
5
6
7
8
9
--- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.network.orig	2004-07-27 23:37:55.000000000 -0400
+++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.network	2004-09-01 21:57:46.000000000 -0400
@@ -1,3 +1,6 @@
 #!/bin/sh
+
+if ( [ -f /unslung/rc.network ] && . /unslung/rc.network ) ; then return 0 ; fi
+
 /sbin/ifup; #check_status
 /bin/echo "call rc.network!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"