@@ -41,6 +41,13 if [ "$ENABLE_IFNAMES" = true ] ; then | |||||
41 | cat files/firstboot/42-config-ifnames.sh >> "${ETC_DIR}/rc.firstboot" |
|
41 | cat files/firstboot/42-config-ifnames.sh >> "${ETC_DIR}/rc.firstboot" | |
42 | fi |
|
42 | fi | |
43 |
|
43 | |||
|
44 | # Execute custom firstboot scripts | |||
|
45 | if [ -d "custom.d/firstboot" ] ; then | |||
|
46 | for SCRIPT in custom.d/firstboot/*.sh; do | |||
|
47 | . "$SCRIPT" | |||
|
48 | done | |||
|
49 | fi | |||
|
50 | ||||
44 | # Finalize rc.firstboot script |
|
51 | # Finalize rc.firstboot script | |
45 | cat files/firstboot/99-finish.sh >> "${ETC_DIR}/rc.firstboot" |
|
52 | cat files/firstboot/99-finish.sh >> "${ETC_DIR}/rc.firstboot" | |
46 | chmod +x "${ETC_DIR}/rc.firstboot" |
|
53 | chmod +x "${ETC_DIR}/rc.firstboot" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant