blob: 0366f6254c3ce7eab420e4712855e758d4607179 (
plain)
1
2
3
4
5
6
7
8
|
#!/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
|