haiku/data/launch/user

57 lines
879 B
Plaintext
Raw Normal View History

target desktop {
env /system/boot/SetupEnvironment
service x-vnd.Be-TRAK {
launch /system/Tracker
legacy
on {
initial_volumes_mounted
}
}
service x-vnd.Be-TSKB {
launch /system/Deskbar
legacy
on {
initial_volumes_mounted
}
}
job user-bootscript {
launch /bin/sh /boot/home/config/settings/boot/UserBootscript
}
job create-installer-link {
# When run from a read-only medium a.k.a. live desktop
if {
read_only
file_exists /boot/system/apps/Installer
}
launch /bin/ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer
}
}
target first_boot {
job x-vnd.Haiku-FirstBootPrompt
}
target installer {
job x-vnd.Haiku-Installer
}
run {
if {
file_exists /system/bin/FirstBootPrompt
or {
not file_exists /boot/home/config/settings/Locale\ settings
read_only
}
}
then {
first_boot
}
else {
desktop
}
}