summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/rc.modules-diversion.patch
blob: d1de027f9a1253e2299bbb0fe45a4b72b3218805 (plain)
1
2
3
4
5
6
7
8
9
10
--- nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules.orig	2006-04-14 21:00:58.000000000 -0500
+++ nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules	2006-04-14 21:05:47.000000000 -0500
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+if ( [ -f /unslung/rc.modules ] && . /unslung/rc.modules ) ; then return 0 ; fi
+
 insmod pbuttons  2>/dev/null
 insmod rbuttons  2>/dev/null
 insmod x1226-rtc 2>/dev/null