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