9 lines
189 B
Bash
Executable File
9 lines
189 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
# Returns 0 on confirmed snapper snapshot boot, returns a non zero value otherwise
|
|
|
|
if grep -qE 'subvol=@/.snapshots/[0-9]+/snapshot' /proc/cmdline; then
|
|
exit 0
|
|
fi
|
|
exit 1
|