Skip to content

Commit

Permalink
chroot now uses login (correctly) instead of /bin/sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Spidey01 committed Feb 9, 2012
1 parent a1d6b4c commit 82c9c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linuxchroot.sh
Expand Up @@ -69,7 +69,7 @@ echo "Initializing chroot..."
for rc in \
"/etc/init.android/rc.enter" \
"/usr/local/etc/init.android/rc.enter" \
"chroot $LINUX_CHROOT /usr/bin/env PWD= SHELL=/bin/sh /bin/sh -i -l" \
"chroot $LINUX_CHROOT /bin/login -f root" \
"/etc/init.android/rc.leave" \
"/usr/local/etc/init.android/rc.leave"
do
Expand Down

0 comments on commit 82c9c8a

Please sign in to comment.