diff options
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index d2270318c..3e65d0967 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -15,7 +15,9 @@ mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev # start mdev dynamic device node management echo >/dev/mdev.seq -echo "/sbin/mdev" >/proc/sys/kernel/hotplug +if [ -f /proc/sys/kernel/hotplug ];then + echo "/sbin/mdev" >/proc/sys/kernel/hotplug +fi # creates f.e. /dev/root mdev -s |