Commit 85702c7d by Oliver Pinter

check for cloud user before adding them

parent cbbe90ba
......@@ -2,9 +2,16 @@
pkg install -y devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite
# create the required backdoor user
pw user add cloud -m
pw group mod wheel -m cloud
grep "^cloud:" /etc/passwd > /dev/null
ret=$?
if [ $ret -ne 0 ]
then
# create the required backdoor user
pw user add cloud -m
pw group mod wheel -m cloud
fi
exit
if [ ! -d /usr/ports ]
then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment