mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -08:00
Move filesystem to more generic name & add perms
This commit is contained in:
7
install/production-filesystem/build/init-crond.sh
Normal file
7
install/production-filesystem/build/init-crond.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "Initializing crond..."
|
||||
# Add crontab file
|
||||
rm /etc/crontabs/root
|
||||
chmod 600 /etc/crontabs/netalertx
|
||||
chown netalertx:netalertx /etc/crontabs/netalertx
|
||||
echo "crond initialized."
|
||||
Reference in New Issue
Block a user