Add an Autostart directory as an easy way to start applications at boot up.
The dead simple Bash code was just copied from Humdinger's patch on #1202. He also suggested having a link on the Deskbar for this folder, but I don't know if that is needed. We just need to document it, which I may do next. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32527 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -152,6 +152,14 @@ 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