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 legacy 15 on { 16 initial_volumes_mounted 17 } 18 } 19 20 job user-bootscript { 21 launch /bin/sh /boot/home/config/settings/boot/UserBootscript 22 } 23 24 job create-installer-link { 25 # When run from a read-only medium a.k.a. live desktop 26 if { 27 read_only 28 file_exists /boot/system/apps/Installer 29 } 30 launch /bin/ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer 31 } 32} 33 34target first_boot { 35 job x-vnd.Haiku-FirstBootPrompt 36} 37 38target installer { 39 job x-vnd.Haiku-Installer 40} 41 42run { 43 if { 44 file_exists /system/bin/FirstBootPrompt 45 or { 46 not file_exists /boot/home/config/settings/Locale\ settings 47 read_only 48 } 49 } 50 then { 51 first_boot 52 } 53 else { 54 desktop 55 } 56} 57