use sh instead of ash for login shell
This commit is contained in:
parent
217db9ebd9
commit
08a5111f5f
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ cp ${root}/../dont_use_here/profile ${root}/etc/profile
|
||||||
|
|
||||||
|
|
||||||
cat << EOF > ${root}/login_shell
|
cat << EOF > ${root}/login_shell
|
||||||
exec -a "-ash" /bin/ash
|
exec -a "-sh" /bin/sh
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
|
|
|
@ -19,7 +19,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
sudo chroot ./ /bin/ash login_shell
|
sudo chroot ./ /bin/sh login_shell
|
||||||
|
|
||||||
sudo umount root/tmp/
|
sudo umount root/tmp/
|
||||||
sudo umount root/proc/
|
sudo umount root/proc/
|
||||||
|
|
Loading…
Reference in a new issue