mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2026-03-04 03:03:54 +01:00
@eshanized: push via script
This commit is contained in:
5
common/snigdhaos-libs/check-snapshot-boot
Normal file
5
common/snigdhaos-libs/check-snapshot-boot
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
if grep -qE 'subvol=@/.snapshots/[0-9]+/snapshot' /proc/cmdline; then
|
||||
exit 0
|
||||
fi
|
||||
exit 1
|
||||
Reference in New Issue
Block a user