Changeset c6e88663 for bootscripts/lfs
- Timestamp:
- May 9, 2006, 4:31:02 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 09aac41
- Parents:
- ed30f2e
- Location:
- bootscripts/lfs
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/functions
red30f2e rc6e88663 13 13 # 14 14 ######################################################################## 15 16 if [ -e /etc/sysconfig/lcd ]; then 17 source /etc/sysconfig/lcd 18 fi 15 19 16 20 ## Environmental setup … … 82 86 local ECHOPARM="" 83 87 88 if [ "$LCD_PROG" ]; then 89 LCD_OUT1="${1:0:$LCD_CHAR}" 90 $LCD_PROG "$LCD_OUT1" 91 fi 92 84 93 while true 85 94 do … … 126 135 echo -e "${NORMAL}" 127 136 boot_mesg_flush "[ OK ]" 137 if [ "$LCD_PROG" ]; then 138 LCD_OUT2="[ OK ]" 139 $LCD_PROG $LCD_OPTIONS "$LCD_OUT1" "$LCD_OUT2" 140 fi 128 141 } 129 142 … … 133 146 echo -e "${NORMAL}" 134 147 boot_mesg_flush "[ FAIL ]" 148 if [ "$LCD_PROG" ]; then 149 LCD_OUT2="[ FAIL ]" 150 $LCD_PROG $LCD_OPTIONS "$LCD_OUT1" "$LCD_OUT2" 151 fi 135 152 } 136 153 … … 139 156 echo -n -e "${CURS_UP}${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]" 140 157 echo -e "${NORMAL}" 158 if [ "$LCD_PROG" ]; then 159 LCD_OUT2="[ WARN ]" 160 $LCD_PROG $LCD_OPTIONS "$LCD_OUT1" "$LCD_OUT2" 161 fi 141 162 boot_mesg_flush "[ WARN ]" 142 163 } … … 160 181 boot_mesg -n "Press Enter to continue..." ${INFO} 161 182 boot_mesg "" ${NORMAL} 162 read ENTER 183 if [ "$LCD_PROG" ]; then 184 sleep 10 185 else 186 read ENTER 187 fi 163 188 } 164 189
Note:
See TracChangeset
for help on using the changeset viewer.