scripts: if running inside the snap don't use /run
This commit is contained in:
parent
b5ea0b4d7f
commit
551f25208f
1 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,10 @@
|
|||
|
||||
varrun="/run/anbox"
|
||||
|
||||
if [ -n "$SNAP_DATA" ]; then
|
||||
varrun="$SNAP_DATA"/network
|
||||
fi
|
||||
|
||||
BRIDGE="anbox0"
|
||||
|
||||
# IPv4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue