mount -o remount,rw /
if test -z "$MASTER_PASSWORD"
then
- echo -e "\nAltboot is a boot-manager which allows to boot from SD, CF and NFS"
+ echo -e "\nAltboot is a boot-manager which allows to boot from SD,\nCF and NFS"
echo -e "\nFor security reasons altboot requires a password\nto boot into init=/bin/sh."
- echo -e "${C_RED}This is *not* your root password! It is used by altboot alone!${C_RESET}"
+ echo -e "${C_RED}This is *not* your root password!\nIt is used by altboot alone!${C_RESET}"
echo -e "${C_BLUE}\nNote:\tThe password will be echoed to the screen\n\tand it will be asked twice for confirmation.${C_RESET}"
echo -e "\nPlease enter a new master password:\n"
# Execute scripts in /etc/altboot.rc before doing anything else.
# Required for special situations, like booting spitz
- RC_FILES=`ls /etc/altboot.rc | grep \\\\.sh$`
+ RC_FILES=`ls /etc/altboot.rc | grep \.sh$`
for file in $RC_FILES
do
- . $file >/dev/tty1 2>&1 || echo "/etc/altboot.rc/$file failed!"
+ . /etc/altboot.rc/$file >/dev/tty1 2>&1 || echo "/etc/altboot.rc/$file failed!"
done
if test "$ENABLE_ALTBOOT" != "yes"