mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 03:55:02 +02: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