Changeset c6e88663 for bootscripts
- 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
- Files:
-
- 2 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Makefile
red30f2e rc6e88663 123 123 if [ ! -f ${EXTDIR}/sysconfig/createfiles ]; then install -m ${CONFMODE} lfs/sysconfig/createfiles ${EXTDIR}/sysconfig/; fi 124 124 125 .PHONY: all create-dirs create-service-dir \ 126 install install-service-mtu 125 install-raq2: 126 install -m ${MODE} lfs/init.d/paneld ${EXTDIR}/rc.d/init.d/ 127 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc0.d/K01paneld 128 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc1.d/S99paneld 129 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc2.d/S99paneld 130 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc3.d/S99paneld 131 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc4.d/S99paneld 132 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc5.d/S99paneld 133 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc6.d/K01paneld 134 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq2 ${EXTDIR}/sysconfig/lcd; fi 135 136 .PHONY: all create-dirs create-service-dir install install-consolelog \ 137 install-service-mtu minimal install-raq2 -
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.