Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Lines 109 to 121 of /etc/rc.d/rc.sysinit -- puppylinux
- #http://www.pearltrees.com/s243a/rc-sysinit-puppylinux/id16200212
- status_func() {
- if [ $1 -eq 0 ];then
- /bin/echo -n -e "\\033[74G\\033[1;32m" >/dev/console #green [done] msg. 110426: change 72 to 74.
- /bin/echo -n "done" >/dev/console #done
- /bin/echo -e "\\033[0;39m" >/dev/console
- else
- /bin/echo -n -e "\\033[72G\\033[1;31m" >/dev/console #red [failed]. 110426: change 70 to 72.
- /bin/echo -n "failed" >/dev/console #failed
- /bin/echo -e "\\033[0;39m" >/dev/console
- STATUS=0
- fi
- return $1 #return with same status as entry param.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement