Format shell scripts and set permissions

This commit is contained in:
Eric Nemchik
2023-03-02 19:18:53 +00:00
parent a614cef135
commit 826e0be29d
6 changed files with 57 additions and 46 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [ -f /usr/bin/apt ]; then
# ubuntu
exec /usr/sbin/cron -f -L 1
fi
if [ -f /sbin/apk ]; then
elif [ -f /sbin/apk ]; then
# alpine
exec /usr/sbin/crond -f -S -l 5
fi