Skip to content

Commit 8cfa3b3

Browse files
committed
fix: extend removal of Unraid password files to include shadow and super.dat
1 parent 901829e commit 8cfa3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/scripts/rsync-activation-dir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ssh "root@$REMOTE_HOST" "rm -rf $REMOTE_PATH/*" || {
6666

6767
# Remove Unraid password file if requested
6868
if [[ "$REMOVE_PASSWORD" == true ]]; then
69-
ssh "root@$REMOTE_HOST" "rm -f /boot/config/passwd" || {
69+
ssh "root@$REMOTE_HOST" "rm -f /boot/config/passwd /boot/config/shadow /boot/config/super.dat" || {
7070
echo "Error: Failed to remove Unraid password file"
7171
exit 1
7272
}

0 commit comments

Comments
 (0)