Remove bad words from code. :(

master
Robert "ar" Gerus 2013-05-02 06:01:21 +02:00
parent 16d4ee578a
commit ac85fddddf
2 changed files with 5 additions and 6 deletions

1
TODO
View File

@ -3,7 +3,6 @@ YES:
* Configuration examples, HOWTOs
* DNS configuration.
* {pre,post}_hooks for some phases.
* Remove bad words, especially from error messages.
MAYBE:
* Change the rootfs_part= argument handling, so that it would accept arbitrary

View File

@ -11,9 +11,9 @@ alias xzcat='/busybox xzcat'
alias mount='/busybox mount'
alias umount='/busybox umount'
die() {
emergency() {
echo ""
echo -e "${FAIL}Shit broke! Panic shell!${NORMAL}"
echo -e "${FAIL}It failed! Panic shell!${NORMAL}"
echo ""
/busybox --install -s
exec /bin/sh
@ -27,8 +27,8 @@ isok() {
if [[ $1 -eq 0 ]]; then
echo -e "${INFO}[ ${OK}OK${INFO} ]${NORMAL}"
else
echo -e "${INFO}[ ${FAIL}FUCK${INFO} ]${NORMAL}"
die
echo -e "${INFO}[ ${FAIL}FAIL${INFO} ]${NORMAL}"
emergency
fi
}
@ -164,5 +164,5 @@ echo ""
echo -e "${FAIL}we should not reach this place! here be dragons!${NORMAL}"
echo ""
die
emergency