Changeset a6ede08
- Timestamp:
- May 15, 2006, 4:14:50 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:
- f588912
- Parents:
- 4631c1c
- Location:
- bootscripts
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Changelog
r4631c1c ra6ede08 1 jim - May 15, 2006 2 * Hide all the output information from the LCD Program 3 * Added support for 1 line LCD screens 4 * Added a generic sysconfig/lcd 5 1 6 jim - May 10, 2006 2 7 * Fixed an error when the LCD device is not available -
bootscripts/Makefile
r4631c1c ra6ede08 145 145 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq3 ${EXTDIR}/sysconfig/lcd; fi 146 146 147 install-lcd: 148 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd ${EXTDIR}/sysconfig/lcd; fi 149 147 150 .PHONY: all create-dirs create-service-dir install install-consolelog \ 148 install-service-mtu minimal install- raq2 install-raq3151 install-service-mtu minimal install-lcd install-raq2 install-raq3 -
bootscripts/lfs/init.d/functions
r4631c1c ra6ede08 90 90 if [ "$LCD_PROG" ]; then 91 91 LCD_OUT1="${1:0:$LCD_CHAR}" 92 $LCD_PROG "$LCD_OUT1" 92 $LCD_PROG "$LCD_OUT1" > /dev/null 2>&1 93 93 fi 94 94 … … 138 138 boot_mesg_flush "[ OK ]" 139 139 if [ "$LCD_PROG" ]; then 140 LCD_OUT2="[ OK ]" 141 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" 140 if [ "$LCD_LINES" = "2" ]; then 141 LCD_OUT2="[ OK ]" 142 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1 143 else 144 LCD_OUT2="${LCD_OUT1:0:12} OK" 145 $LCD_PROG "$LCD_OUT2" > /dev/null 2>&1 146 fi 142 147 fi 143 148 } … … 149 154 boot_mesg_flush "[ FAIL ]" 150 155 if [ "$LCD_PROG" ]; then 151 LCD_OUT2="[ FAIL ]" 152 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" 156 if [ "$LCD_LINES" = "2" ]; then 157 LCD_OUT2="[ FAIL ]" 158 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1 159 else 160 LCD_OUT2="${LCD_OUT1:0:10} FAIL" 161 $LCD_PROG "$LCD_OUT2" > /dev/null 2>&1 162 fi 153 163 fi 154 164 } … … 159 169 echo -e "${NORMAL}" 160 170 if [ "$LCD_PROG" ]; then 161 LCD_OUT2="[ WARN ]" 162 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" 171 if [ "$LCD_LINES" = "2" ]; then 172 LCD_OUT2="[ WARN ]" 173 $LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1 174 else 175 LCD_OUT2="${LCD_OUT1:0:10} WARN" 176 $LCD_PROG "$LCD_OUT2" > /dev/null 2>&1 177 fi 163 178 fi 164 179 boot_mesg_flush "[ WARN ]" -
bootscripts/lfs/sysconfig/lcd-raq2
r4631c1c ra6ede08 12 12 ######################################################################## 13 13 14 # Set the # of lines for the LCD Display 15 # 16 LCD_LINES=2 17 14 18 # The executable that writes to the LCD 15 19 # -
bootscripts/lfs/sysconfig/lcd-raq3
r4631c1c ra6ede08 12 12 ######################################################################## 13 13 14 # Set the # of lines for the LCD Display 15 # 16 LCD_LINES=2 17 14 18 # The executable that writes to the LCD 15 19 #
Note:
See TracChangeset
for help on using the changeset viewer.