| RISC OS Select Choices path selection
| [BootScripts 1.16 (16 Oct 2002)]

| First, we need to do a quick scan of the machine
| We do this to identify the machine we're using such that we can
| select the correct hardware configuration
/Boot:Utils.HWScan

| Set up user name
| - Single for single-user boot
| - <username> for muli-user boot
Set Choices$User Single
IfThere Boot:Choices.!SetUser Then Run Boot:Choices.!SetUser

| Set up main choices
| We set these up such that we have :
|   User specific choices (boot will always be run from here)
|   Default choices
|   Machine specific choices (hardware configuration)
Set ChoicesDefault$Dir  <Boot$Dir>.Choices.Default
Set Choices$Write       <Boot$Dir>.Choices.Users.<Choices$User>
Set Choices$Dir         <Choices$Write>
Set Choices$Path        <Choices$Write>.,<ChoicesDefault$Dir>.,<ChoicesHardware$Dir>.

| The place to which choices should be written and
| from which we set up the system
Set Boot$ToBeLoaded          <Choices$Write>.Boot.PreDesk
Set Boot$ToBeTasks           <Choices$Write>.Boot.Tasks
Set Boot$Default$ToBeLoaded  <ChoicesDefault$Dir>.Boot.PreDesk
Set Boot$Default$ToBeTasks   <ChoicesDefault$Dir>.Boot.Tasks
Set Boot$Hardware$ToBeLoaded <ChoicesHardware$Dir>.Boot.PreDesk
Set Boot$Hardware$ToBeTasks  <ChoicesHardware$Dir>.Boot.Tasks
