Skip to content

Commit

Permalink
disables FSGuard on unclean systems
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Nov 6, 2024
1 parent a754d66 commit 54d2a77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions includes.container/usr/share/init.d/010-fsguard.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash

PACKAGES=/usr/share/abroot/package-summary
if [ -s "$PACKAGES" ]; then
echo "image not clean due to abroot pkg, skipping FSGuard"
exit 0
fi

function failed() {
/.system/usr/bin/plymouth quit
local squashfs="/.system/boot/fswarn.squash"
Expand Down

0 comments on commit 54d2a77

Please sign in to comment.