mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
init: Execute /bin/sh for interactive shell, not /bin/bash
bash will not be the default interactive shell since readline support increases the binary size significantly. Use /bin/sh (busybox ash) for that. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
c2a4d84dfd
commit
4b58788063
@ -118,7 +118,7 @@ if [ "$boot_option" = "r" ]; then
|
|||||||
if [ "$CONFIG_TPM" = "y" ]; then
|
if [ "$CONFIG_TPM" = "y" ]; then
|
||||||
tpmr extend -ix 4 -ic recovery
|
tpmr extend -ix 4 -ic recovery
|
||||||
fi
|
fi
|
||||||
exec /bin/bash
|
exec /bin/sh
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -177,4 +177,4 @@ fi
|
|||||||
if [ "$CONFIG_TPM" = "y" ]; then
|
if [ "$CONFIG_TPM" = "y" ]; then
|
||||||
tpmr extend -ix 4 -ic recovery
|
tpmr extend -ix 4 -ic recovery
|
||||||
fi
|
fi
|
||||||
exec /bin/bash
|
exec /bin/sh
|
||||||
|
Loading…
Reference in New Issue
Block a user