diff --git a/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/profile b/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/profile new file mode 100644 index 0000000..2cea990 --- /dev/null +++ b/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/profile @@ -0,0 +1 @@ +export TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3 diff --git a/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/rc.poststart b/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/rc.poststart new file mode 100755 index 0000000..011e148 --- /dev/null +++ b/Richtfunk/bb-cko-eingang-nsm5/etc/persistent/rc.poststart @@ -0,0 +1,16 @@ +#!/bin/sh + +# Verzeichnis Anlegen: +mkdir /etc/crontabs + +# Kommentar in die Datei backbone schreiben: +echo "#min hour day month dayofweek command" >> /etc/crontabs/backbone + +# Die Schnittstelle ath0 zur 0. Minute der 10. Stunde am 0. Wochentag (Sonntag) runter nehmen: +echo "0 10 * * 0 ifconfig ath0 down" >> /etc/crontabs/backbone + +# Die Schnittstelle um 11:00 wieder hoch nehmen +echo "0 11 * * 0 ifconfig ath0 up" >> /etc/crontabs/backbone + +# cron starten +crond enable