Change the Bootscript and Bootscript.cd to use the new isvolume -readonly-partition
feature and offer the user to boot into the Installer or into the Desktop (Live-CD mode). Thanks to Vincent Duvert who offered a method that worked around some interference from mysterious debug output... The launching of the servers has been refactored, since that needs to be done anyways before an alert can be shown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30332 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,31 +44,6 @@ runprog() {
|
||||
## Main script starts here
|
||||
##
|
||||
|
||||
# block the CD tray (avoid accidental ejection)
|
||||
/bin/eject -b /boot
|
||||
|
||||
# Launch servers
|
||||
|
||||
# We must wait for the app_server and registrar to be ready
|
||||
launch $SERVERS/registrar _roster_thread_ # launch registrar
|
||||
|
||||
#launch $SERVERS/debug_server # launch debug_server
|
||||
|
||||
# Init Network
|
||||
if [ "$SAFEMODE" != "yes" ]; then
|
||||
launch $SERVERS/net_server # launch net_server
|
||||
fi
|
||||
|
||||
if [ "$SAFEMODE" != "yes" ]; then
|
||||
launch $SERVERS/app_server picasso # launch app_server
|
||||
else
|
||||
launch $SERVERS/fake_app_server picasso
|
||||
fi
|
||||
|
||||
if [ "$SAFEMODE" != "yes" ]; then
|
||||
launch $SERVERS/syslog_daemon
|
||||
waitfor _input_server_event_loop_ # wait for input devices
|
||||
fi
|
||||
|
||||
# Launch Terminal or consoled depending on $SAFEMODE
|
||||
if [ "$SAFEMODE" != "yes" ]; then
|
||||
@@ -84,7 +59,7 @@ else
|
||||
fi
|
||||
|
||||
# sync disks
|
||||
sync
|
||||
/bin/sync
|
||||
|
||||
# prepare for reboot
|
||||
# (reboot quickly in 10 seconds)
|
||||
|
||||
Reference in New Issue
Block a user