bb-cko-eingang-nsm5 cronjobs hinzugefügt
This commit is contained in:
parent
4d4cbff3e8
commit
fe30c6d902
1
Richtfunk/bb-cko-eingang-nsm5/etc/persistent/profile
Normal file
1
Richtfunk/bb-cko-eingang-nsm5/etc/persistent/profile
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3
|
16
Richtfunk/bb-cko-eingang-nsm5/etc/persistent/rc.poststart
Executable file
16
Richtfunk/bb-cko-eingang-nsm5/etc/persistent/rc.poststart
Executable file
|
@ -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
|
Loading…
Reference in a new issue