1target desktop { 2 env /system/boot/SetupEnvironment 3 4 service x-vnd.Be-TRAK { 5 launch /system/Tracker 6 legacy 7 on { 8 initial_volumes_mounted 9 } 10 } 11 12 service x-vnd.Be-TSKB { 13 launch /system/Deskbar 14 on { 15 initial_volumes_mounted 16 } 17 } 18 19 service x-vnd.Haiku-mail_daemon { 20 launch /system/servers/mail_daemon -E 21 if setting ~/config/settings/Mail/new_mail_daemon DaemonAutoStarts 22 no_safemode 23 legacy 24 } 25 26 job user-bootscript { 27 launch /bin/sh ~/config/settings/boot/UserBootscript 28 } 29 30 job first-login { 31 launch /bin/sh /system/boot/PostInstallScript "first login" ~/config/settings/first_login /boot/system/boot/first-login 32 if file_exists ~/config/settings/first_login 33 } 34 35 job create-installer-link { 36 # When run from a read-only medium a.k.a. live desktop 37 if { 38 read_only 39 file_exists /boot/system/apps/Installer 40 } 41 launch /bin/ln -sf /boot/system/apps/Installer ~/Desktop/Installer 42 } 43} 44 45target first_boot { 46 job x-vnd.Haiku-FirstBootPrompt 47} 48 49target installer { 50 job x-vnd.Haiku-Installer 51} 52 53run { 54 if { 55 file_exists /system/bin/FirstBootPrompt 56 or { 57 not file_exists /boot/home/config/settings/Locale\ settings 58 read_only 59 } 60 } 61 then { 62 first_boot 63 } 64 else { 65 desktop 66 } 67} 68