Initial commit
This commit is contained in:
17
installation/basic.sh
Normal file
17
installation/basic.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
echo "Basic setup"
|
||||
|
||||
# Enable community repo
|
||||
sed -i 's|^#\(http.*/community\)$|\1|' /etc/apk/repositories
|
||||
apk update
|
||||
|
||||
# Cron jobs
|
||||
rc-update add crond
|
||||
cat << EOF > /etc/periodic/daily/chrony
|
||||
#!/bin/sh
|
||||
chronyc makestep
|
||||
EOF
|
||||
|
||||
# Allow local.d services
|
||||
rc-update add local default
|
||||
rc-service local start
|
||||
Reference in New Issue
Block a user