0
0
Fork 0
mirror of https://github.com/etlegacy/etlegacy-snap.git synced 2025-04-11 12:00:52 +00:00
etlegacy-snap/snap/hooks/install

12 lines
196 B
Text
Raw Permalink Normal View History

#!/bin/sh
set -x
if [ "$(snapctl get daemon)" = "" ]
then
if grep -q -e snap_core= -e snapd_recovery_mode= /proc/cmdline
then snapctl set daemon=true
else snapctl set daemon=false
fi
fi