From 17c4a0b0e70089832efe39a61e235a2f7d22a960 Mon Sep 17 00:00:00 2001 From: Tau Date: Fri, 5 Jul 2024 01:03:43 +0200 Subject: [PATCH] adapts fswarn script to new init system --- .../usr/{sbin/init => share/init.d/010-fsguard.sh} | 1 - recipe.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) rename includes.container/usr/{sbin/init => share/init.d/010-fsguard.sh} (97%) mode change 100755 => 100644 diff --git a/includes.container/usr/sbin/init b/includes.container/usr/share/init.d/010-fsguard.sh old mode 100755 new mode 100644 similarity index 97% rename from includes.container/usr/sbin/init rename to includes.container/usr/share/init.d/010-fsguard.sh index 52ea297..4143f97 --- a/includes.container/usr/sbin/init +++ b/includes.container/usr/share/init.d/010-fsguard.sh @@ -35,4 +35,3 @@ function failed() { if [[ $? -ne 0 ]]; then failed fi -exec /usr/lib/systemd/systemd "$@" diff --git a/recipe.yml b/recipe.yml index 874228d..b6d5f5e 100644 --- a/recipe.yml +++ b/recipe.yml @@ -118,7 +118,7 @@ stages: commands: - rm -rf /FsGuard - rm -f ./minisign.pub ./minisign.key - - chmod +x /usr/sbin/init + - chmod +x /usr/share/init.d/010-fsguard.sh - name: cleanup2 type: shell