OSDN Git Service

init: re-hash the commands table
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 21 Oct 2015 11:58:10 +0000 (19:58 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 21 Oct 2015 11:58:10 +0000 (19:58 +0800)
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