Project

General

Profile

« Previous | Next » 

Revision 8112c6a9

Added by Scott Ullrich almost 20 years ago

Take into account embedded platforms

View differences:

etc/rc
205 205
/usr/local/sbin/check_reload_status >/dev/null &
206 206

  
207 207
echo "Bootup complete"
208

  
209
if [ ! -e /var/etc/console_lockdown ]; then
210
    # Allow VTY switching
211
    /usr/sbin/vidcontrol -S on
212
    # Turn off bloody mouse pointer.
213
    /usr/sbin/vidcontrol -m off	
214
    env TERM=cons25 /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 &
215
    sleep 1
216
    /usr/sbin/vidcontrol -s 2
208
if [ ! "$PLATFORM" = "cdrom" ]; then
209
    if [ ! -e /var/etc/console_lockdown ]; then
210
	# Allow VTY switching
211
	/usr/sbin/vidcontrol -S on
212
	# Turn off bloody mouse pointer.
213
	/usr/sbin/vidcontrol -m off	
214
	env TERM=cons25 /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 &
215
	sleep 1
216
	/usr/sbin/vidcontrol -s 2
217
    fi
218
else
219
    if [ ! -e /var/etc/console_lockdown ]; then
220
	while [ 1 ];
221
	do
222
	    env TERM=cons25 /etc/rc.initial
223
	done
224
    fi
217 225
fi
218 226

  
219 227
/usr/local/bin/beep.sh start

Also available in: Unified diff