Root/
Source at commit dfcc043cf88e44fcec0c224ed424b4ce853e2001 created 12 years 6 months ago. By Freemor, Building out Directory Tree | |
---|---|
1 | ben-set-up will be the.. |
2 | "one script to rule them all and in the nanonote bind them.." |
3 | So, Tolkien referencees aside, this will be the main "Help me |
4 | set-up my NanoNote" script. |
5 | |
6 | It will do several things: |
7 | 1. run at boot and check a flag file |
8 | if first boot see if user want to restore from backed-up settings |
9 | if not does the user want a default data partition created |
10 | does the user want to mount a uSD card at boot |
11 | Set timezone, set flag file to continue time set up, |
12 | reboot, read flag file run ben-time-set |
13 | to finish setting time (clearly we need a skip the timezone switch) |
14 | if yes to restore, preform necessary tasks to get to restore data |
15 | i.e. mount uSD, ssh/ftp/etc to host |
16 | grab the settings for timezone,and data partitions, |
17 | automounts. |
18 | set those up. Change flag file to continue restore |
19 | reboot. read flag file. continue restore. |
20 | if all goes well set flag file to all done |
21 | |
22 | 2. if run manually don't check flag file (unless instructed to (flag)) |
23 | instead provide a menu with options to: |
24 | set timezone |
25 | set time |
26 | set-up data partition |
27 | set up auto mounts |
28 | back-up system |
29 | restore from backup |
30 | etc |
31 | |
32 |
Branches:
master