Remove bad words from code. :(
parent
16d4ee578a
commit
ac85fddddf
1
TODO
1
TODO
|
@ -3,7 +3,6 @@ YES:
|
||||||
* Configuration examples, HOWTOs
|
* Configuration examples, HOWTOs
|
||||||
* DNS configuration.
|
* DNS configuration.
|
||||||
* {pre,post}_hooks for some phases.
|
* {pre,post}_hooks for some phases.
|
||||||
* Remove bad words, especially from error messages.
|
|
||||||
|
|
||||||
MAYBE:
|
MAYBE:
|
||||||
* Change the rootfs_part= argument handling, so that it would accept arbitrary
|
* Change the rootfs_part= argument handling, so that it would accept arbitrary
|
||||||
|
|
|
@ -11,9 +11,9 @@ alias xzcat='/busybox xzcat'
|
||||||
alias mount='/busybox mount'
|
alias mount='/busybox mount'
|
||||||
alias umount='/busybox umount'
|
alias umount='/busybox umount'
|
||||||
|
|
||||||
die() {
|
emergency() {
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${FAIL}Shit broke! Panic shell!${NORMAL}"
|
echo -e "${FAIL}It failed! Panic shell!${NORMAL}"
|
||||||
echo ""
|
echo ""
|
||||||
/busybox --install -s
|
/busybox --install -s
|
||||||
exec /bin/sh
|
exec /bin/sh
|
||||||
|
@ -27,8 +27,8 @@ isok() {
|
||||||
if [[ $1 -eq 0 ]]; then
|
if [[ $1 -eq 0 ]]; then
|
||||||
echo -e "${INFO}[ ${OK}OK${INFO} ]${NORMAL}"
|
echo -e "${INFO}[ ${OK}OK${INFO} ]${NORMAL}"
|
||||||
else
|
else
|
||||||
echo -e "${INFO}[ ${FAIL}FUCK${INFO} ]${NORMAL}"
|
echo -e "${INFO}[ ${FAIL}FAIL${INFO} ]${NORMAL}"
|
||||||
die
|
emergency
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,5 +164,5 @@ echo ""
|
||||||
echo -e "${FAIL}we should not reach this place! here be dragons!${NORMAL}"
|
echo -e "${FAIL}we should not reach this place! here be dragons!${NORMAL}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
die
|
emergency
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue