You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application runs scripts in ascending order based on their numeric prefixes. Scripts added to `/mnt/jrc-comms/hooks/boot.d` will be injected into `/opt/jrc/hooks/boot.d` based on script prefix automatically. For example:
33
36
34
37
-`05-mount-recovery-mount` runs first (found in `/opt/jrc/hooks/boot.d`)
@@ -41,6 +44,8 @@ The application runs scripts in ascending order based on their numeric prefixes.
41
44
- Scripts with the same prefix may execute in lexicographical order, but avoid ambiguity by using unique prefixes
42
45
- Scripts added to `/mnt/jrc-comms/hooks/boot.d` will persist AMI upgrades, stack clones, etc.
43
46
47
+
By following this structure, you can extend the boot process with custom logic while maintaining predictable execution order.
By following this structure, you can extend the boot process with custom logic while maintaining predictable execution order.
75
-
76
80
---
77
81
78
-
###Alternative to fstab Mounting Using Boot Hook Script
82
+
## Alternative to fstab Mounting Using Boot Hook Script
79
83
80
84
AutoPilot's boot hook system provides a more reliable alternative to `/etc/fstab` for bind mounts within dynamic environments, particularly when dealing with paths that might not be available during early boot stages.
81
85
82
86
The following is an example of how you would implement a boot hook script to create hard links. Typically this would be accomplished within `/etc/fstab`.
0 commit comments