mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
add crontab variable to wz_mini.conf
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
#!/bin/sh
|
||||
#autostart crond
|
||||
|
||||
source /opt/wz_mini/etc/rc.common
|
||||
source /opt/wz_mini/wz_mini.conf
|
||||
|
||||
autostart_crond() {
|
||||
wait_for_wlan_ip
|
||||
/opt/wz_mini/tmp/.bin/crond -b -c /opt/wz_mini/etc/cron/
|
||||
/opt/wz_mini/tmp/.bin/crond -b -c /opt/wz_mini/etc/cron/
|
||||
}
|
||||
|
||||
if [[ "$ENABLE_CRONTAB" == "true" ]]; then
|
||||
autostart_crond &
|
||||
fi
|
||||
|
@@ -95,6 +95,7 @@ DISABLE_MOTOR="false"
|
||||
ENABLE_FSCK_ON_BOOT="false"
|
||||
ENABLE_CAR_DRIVER="false"
|
||||
ENABLE_LOCAL_DNS="false"
|
||||
ENABLE_CRONTAB="false"
|
||||
|
||||
#####DEBUG#####
|
||||
#drops you to a shell via serial, doesn't load app_init.sh
|
||||
|
@@ -1 +1 @@
|
||||
Sun Jul 31 09:35:00 PM PDT 2022
|
||||
Tue Aug 2 08:32:39 PM PDT 2022
|
||||
|
@@ -95,6 +95,7 @@ DISABLE_MOTOR="false"
|
||||
ENABLE_FSCK_ON_BOOT="false"
|
||||
ENABLE_CAR_DRIVER="false"
|
||||
ENABLE_LOCAL_DNS="false"
|
||||
ENABLE_CRONTAB="false"
|
||||
|
||||
#####DEBUG#####
|
||||
#drops you to a shell via serial, doesn't load app_init.sh
|
||||
|
Reference in New Issue
Block a user