Last change
on this file since 9c1d1fa was b9cef84, checked in by Jim Gifford <clfs@…>, 18 years ago |
Updates to bootscripts
|
-
Property mode
set to
100755
|
File size:
228 bytes
|
Rev | Line | |
---|
[a44b91b] | 1 | # Common Routines
|
---|
| 2 | #
|
---|
| 3 |
|
---|
| 4 | # Check status and print
|
---|
| 5 | # OK or FAIL
|
---|
| 6 | #
|
---|
| 7 | check_status()
|
---|
| 8 | {
|
---|
| 9 | local ERR=$?
|
---|
| 10 | echo -en "\\033[65G"
|
---|
| 11 | if [ $ERR = 0 ]; then
|
---|
[b9cef84] | 12 | echo -en "\\033[1;32mOK"
|
---|
[a44b91b] | 13 | else
|
---|
| 14 | echo -en "\\033[1;31mFAIL"
|
---|
| 15 | fi
|
---|
| 16 | echo -e "\\033[0;39m"
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.