OSDN Git Service

init: re-hash the commands table
[android-x86/bootable-newinstaller.git] / initrd / init
index f1178ee..9f1e1bf 100755 (executable)
@@ -165,6 +165,7 @@ if [ -x system/bin/ln -a \( -n "$DEBUG" -o -n "$BUSYBOX" \) ]; then
        busybox mv /sbin/* sbin
        rmdir /sbin
        ln -s android/bin android/lib android/sbin /
+       hash -r
 fi
 
 # ensure keyboard driver is loaded