- Change Autostart directory name to launch.
- Move the launching of files in this directory from the Bootscript to the UserBootscript. - This means we now ship a working UserBootscript instead of just a sample. - Updated documentation based on this change and Humdinger's suggestions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32544 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# DO NOT EDIT!
|
||||
#=====================================================================
|
||||
# Start all programs in the boot launch folder
|
||||
for program in $HOME/config/boot/launch/*
|
||||
do
|
||||
"$program" &
|
||||
done
|
||||
#=====================================================================
|
||||
|
||||
# Add custom commands to execute at every startup here.
|
||||
|
||||
# This file is a standard bash script. For more information regarding shell
|
||||
# scripts, refer to any online documentation for "bash scripting"
|
||||
|
||||
# During boot, the commands listed in this script will be executed.
|
||||
# Typically, you will want to include a trailing '&' on each line.
|
||||
# This will allow the script to execute that command and process the next line.
|
||||
|
||||
# To launch certain applications at boot-up, put links to those applications in
|
||||
# the above boot launch directory.
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Quick start file for UserBootscript. Copy or rename this file as
|
||||
# "/boot/home/config/boot/UserBootscript".
|
||||
# Add custom commands to execute at every startup.
|
||||
|
||||
# This file is a standard bash script. For more information regarding shell
|
||||
# scripts, refer to any online documentation for "bash scripting"
|
||||
|
||||
# During boot, the commands listed in this script will be executed.
|
||||
# Typically, you will want to include a trailing '&' on each line.
|
||||
# This will allow the script to execute that command and process the next line.
|
||||
|
||||
# Run LaunchBox
|
||||
# /boot/system/apps/LaunchBox &
|
||||
@@ -152,14 +152,6 @@ if [ "$SAFEMODE" != "yes" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Start all programs in the Autostart folder
|
||||
if [ "$SAFEMODE" != "yes" ]; then
|
||||
for program in $HOME/config/boot/Autostart/*
|
||||
do
|
||||
"$program" &
|
||||
done
|
||||
fi
|
||||
|
||||
# Check for fresh install and run post install scripts.
|
||||
postInstallDir=/boot/common/boot/post_install
|
||||
freshInstallIndicator=/boot/common/settings/fresh_install
|
||||
|
||||
Reference in New Issue
Block a user