mirror of
https://github.com/etlegacy/etlegacy-snap.git
synced 2024-11-28 23:01:57 +00:00
12 lines
196 B
Text
12 lines
196 B
Text
|
#!/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
|
||
|
|