Changeset 292c832 in bootscripts-embedded for clfs/rc.d/init.d/functions


Ignore:
Timestamp:
Jan 30, 2011, 10:13:21 AM (13 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
73ee2a6
Parents:
5d96f6a
Message:

Imported updates of existing bootscripts

Imported bootscripts that already existed from clfs-embedded/bootscripts
as bootscripts should be kept in this repo rather than in the
clfs-embedded repo.

The script changes have NOT BEEN TESTED! (yet)
This is part of a cleanup of bootscripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clfs/rc.d/init.d/functions

    r5d96f6a r292c832  
    1111check_status()
    1212{
    13   local ERR=$?
    14   echo -en "\\033[65G"
    15   if [ $ERR = 0 ]; then
    16     echo -en "\\033[1;32mOK"
    17   else
    18     echo -en "\\033[1;31mFAIL"
    19   fi
    20   echo -e "\\033[0;39m"
     13        local ERR=$?
     14        echo -en "\\033[65G"
     15        if [ $ERR = 0 ]; then
     16                echo -en "\\033[1;32mOK"
     17        else
     18                echo -en "\\033[1;31mFAIL"
     19        fi
     20        echo -e "\\033[0;39m"
    2121}
Note: See TracChangeset for help on using the changeset viewer.