This commit is contained in:
Minecon724 2023-11-05 19:34:06 +01:00
parent 35b52a310d
commit af912dadc9
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
if [ "$EUID" -ne 0 ]; then
echo not root
exit 1

View File

@ -1,2 +1,3 @@
#!/bin/sh
cd /opt
python3 -c 'import nman; nman.update()'