Commit Graph

27 Commits

Author SHA1 Message Date
Bas v.d. Wiel e7fe771246 Fix the collapsing of directory names to prevent overlapping dirs from being skipped while mounting. 2023-05-22 15:38:13 +02:00
Bas v.d. Wiel 267a21b875 Bugfix: RO_ROOT was unbound. 2023-03-12 16:34:25 +01:00
Bas v.d. Wiel a73c7f6c5b Move the check for existing NFS mounts. 2023-03-12 16:31:34 +01:00
Bas v.d. Wiel 5952f9ebb7 Wait for IP, log messages to Syslog instead of echoing to console. 2023-03-12 15:24:46 +01:00
Bas v.d. Wiel 38bf4a4313 Remove the wait for server flag: we always wait, or time out. 2023-03-12 15:09:19 +01:00
Bas v.d. Wiel 26cdd39a1b Remove quotes 2023-03-12 14:51:48 +01:00
Bas v.d. Wiel 9a2dd09232 Replace the run_once check with a more sensible check for pre-existing NFS mounts. 2023-03-12 14:47:02 +01:00
Bas v.d. Wiel 2e62a57e00 Use Busybox to perform the mount action. 2023-03-12 13:46:09 +01:00
Bas v.d. Wiel 01478094e7 Loop the IP check back into the script's main logic. 2023-03-10 11:55:47 +01:00
Bas v.d. Wiel bc7735f855 Lots of cosmetics and reliability improvements. 2023-03-10 11:51:19 +01:00
Bas v.d. Wiel cdd2483471 Perform the mounting operation itself. 2023-03-10 11:42:02 +01:00
Bas v.d. Wiel ae538b8777 Fix typo in copyright comment. 2023-03-10 11:21:37 +01:00
Bas v.d. Wiel 2e0bd44165 Add a function for loading the INI file. 2023-03-10 11:13:53 +01:00
Bas v.d. Wiel a103a6dc5d Remove the now redundant separate function for remounting the rootfs. 2023-03-10 11:00:11 +01:00
Bas v.d. Wiel a58a202055 Untangle much of the creation of boot scripts. 2023-03-09 21:02:42 +01:00
Bas v.d. Wiel 2232f82e72
Merge pull request #17 from basvandewiel/7-refactor-a-check-for-minimally-viable-configuration
Add function keyword.
2023-03-09 18:17:59 +01:00
Bas v.d. Wiel 0a6f1ec9f7 Add function keyword. 2023-03-09 18:17:29 +01:00
Bas v.d. Wiel d33af4edf4
Merge branch 'main' into 7-refactor-a-check-for-minimally-viable-configuration 2023-03-09 18:15:47 +01:00
Bas v.d. Wiel 887b078fd4 Add function for checking NFS server liveness. 2023-03-09 18:14:49 +01:00
Bas v.d. Wiel f3c9b59d41
Merge pull request #14 from basvandewiel/7-refactor-a-check-for-minimally-viable-configuration
Add function for config checking and use it.
2023-03-09 16:30:10 +01:00
Bas v.d. Wiel 29c09b94df Add function for config checking and use it. 2023-03-09 16:29:31 +01:00
Bas v.d. Wiel 117c4c41fa Fix unintend always-true conditions. 2023-03-09 15:57:11 +01:00
Bas v.d. Wiel 01d79f0a2c Introduce SERVER_PATH variable to define the server-side path to mount. 2023-03-09 15:50:44 +01:00
Bas v.d. Wiel 210608a8b5
Merge pull request #3 from basvandewiel/1-reliable-check-for-ip-connectivity
Abstract the IP-check to its own function
2023-03-08 14:47:47 +01:00
Bas v.d. Wiel 1d8f4061c7 Fix the issue as described. 2023-03-08 14:46:27 +01:00
Bas v.d. Wiel 2280db1841 Abstract the IP-check to its own function and use it instead of Google ping. 2023-03-08 14:39:31 +01:00
Bas v.d. Wiel 6264f95a89 Initial commit as posted by RealLarry on the misterfpga.org forum. 2023-03-08 14:16:59 +01:00