testing
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2020-04-11 11:55:50 -07:00
parent 5f644c5945
commit 09ccfe26fd
10 changed files with 301 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
UN="$(cat /etc/workuser)"
HD="/home/$UN"
if [[ -e "$HD/.setupdone" ]]; then
sleep 86400;
exit
fi
sudo -l -u $UN /bin/bash << EOF
echo "user setup done" > ~/.setupdone
EOF