Update archtitus.sh
This commit is contained in:
parent
e3b336e16c
commit
38b7b195bf
|
|
@ -6,13 +6,13 @@
|
||||||
# @testing if script was run as root for full os run
|
# @testing if script was run as root for full os run
|
||||||
if [ "$EUID" -ne 0 ]
|
if [ "$EUID" -ne 0 ]
|
||||||
then echo "Please run as root"
|
then echo "Please run as root"
|
||||||
exit
|
exit 0
|
||||||
fi
|
fi
|
||||||
# @docker check
|
# @docker check
|
||||||
if grep -sq 'docker\|lxc' /proc/1/cgroup
|
if grep -sq 'docker\|lxc' /proc/1/cgroup
|
||||||
then
|
then
|
||||||
echo "running in docker container, no supported (at the moment)"
|
echo "running in docker container, no supported (at the moment)"
|
||||||
exit
|
exit 0
|
||||||
fi
|
fi
|
||||||
# Find the name of the folder the scripts are in
|
# Find the name of the folder the scripts are in
|
||||||
set -a
|
set -a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue