This commit is contained in:
John Dorman 2023-02-21 18:12:26 -08:00
parent b6e4f8f8cd
commit f70ef20bbf
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
udm-boot-2x (1.0.1) stable; urgency=medium
* Using bash to invoke
-- Boostchicken <john@boostchicken.dev> Sat, 21 Feb 2023 18:46:14 -0700
udm-boot-2x (1.0.0) stable; urgency=medium
* Initial release, happy firmware persisting!

View File

@ -8,7 +8,7 @@ StartLimitBurst=5
[Service]
Restart=on-failure
RestartSec=5s
ExecStart='mkdir -p /data/on_boot.d && find -L /data/on_boot.d -mindepth 1 -maxdepth 1 -type f -print0 | sort -z | xargs -0 -r -n 1 -- sh -c '\''if test -x "$0"; then echo "%n: running $0"; "$0"; else case "$0" in *.sh) echo "%n: sourcing $0"; . "$0";; *) echo "%n: ignoring $0";; esac; fi'\'
ExecStart=bash - c 'mkdir -p /data/on_boot.d && find -L /data/on_boot.d -mindepth 1 -maxdepth 1 -type f -print0 | sort -z | xargs -0 -r -n 1 -- sh -c '\''if test -x "$0"; then echo "%n: running $0"; "$0"; else case "$0" in *.sh) echo "%n: sourcing $0"; . "$0";; *) echo "%n: ignoring $0";; esac; fi'\'
RemainAfterExit=true
[Install]

Binary file not shown.