base-files: remove dead code
[openwrt/openwrt.git] / package / base-files / files / etc / init.d / boot
index ccd0afe30d108016429500c4c8188afa136596d6..4a2010ce8989ddca7ab36bcb19b3c3ca8d678444 100755 (executable)
@@ -52,10 +52,4 @@ boot() {
        
        # temporary hack until configd exists
        /sbin/reload_config
-
-       # create /dev/root if it doesn't exist
-       [ -e /dev/root -o -h /dev/root ] || {
-               rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
-               [ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
-       }
 }