1
0
angie-conv-image/image-entry.d/03-detect-local-override.envsh
2024-07-11 13:35:07 +03:00

18 lines
369 B
Bash
Executable File

#!/bin/sh
unset IEP_LOCAL_OVERRIDE
IEP_LOCAL_OVERRIDE=0
unset _fsspec _fstarget _fstype _fsopts _fsreq _fspass
while read -r _fsspec _fstarget _fstype _fsopts _fsreq _fspass ; do
case "${_fstarget}" in
/angie | /angie/* )
IEP_LOCAL_OVERRIDE=1
break
;;
esac
done < /proc/mounts
unset _fsspec _fstarget _fstype _fsopts _fsreq _fspass
export IEP_LOCAL_OVERRIDE