1
0
angie-conv-image/image-entry.d/03-local-override.envsh

21 lines
314 B
Plaintext
Raw Permalink Normal View History

2024-09-17 14:11:00 +03:00
#!/bin/sh
unset IEP_LOCAL_OVERRIDE
IEP_LOCAL_OVERRIDE=0
2024-09-30 20:45:03 +03:00
unset _fsspec i _extra
while read -r _fsspec i _extra ; do
[ -n "$i" ] || continue
case "$i" in
2024-09-17 14:11:00 +03:00
/angie | /angie/* )
IEP_LOCAL_OVERRIDE=1
break
;;
esac
2024-09-30 20:45:03 +03:00
done <<-EOF
$(grep -F angie /proc/mounts)
EOF
unset _fsspec i _extra
2024-09-17 14:11:00 +03:00
export IEP_LOCAL_OVERRIDE