From a155fe22cbb28720cd36a91e0e7268675b8e15a3 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 14 Apr 2024 10:09:08 +0200 Subject: [PATCH] Revert "home.router: disable pppd restart at night" This reverts commit 493dc91e0de67c1fb4e47ac5f83ba8699d94c9bc. --- nodes/home/router.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nodes/home/router.py b/nodes/home/router.py index 6fa3aa3..67845ba 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -39,15 +39,15 @@ nodes['home.router'] = { '172.19.139.0/24', }, }, -# 'cron': { -# 'jobs': { -# # Our internet provider resets the connection if you're -# # connected longer than 24 hours. We install this cronjob -# # to make sure we don't get disconnected randomly during the -# # day. -# 'restart_pppd': '23 2 * * * root systemctl restart pppoe && date -u +\%s > /var/tmp/pppd-last-restart.status', -# }, -# }, + 'cron': { + 'jobs': { + # Our internet provider resets the connection if you're + # connected longer than 24 hours. We install this cronjob + # to make sure we don't get disconnected randomly during the + # day. + 'restart_pppd': '23 2 * * * root systemctl restart pppoe && date -u +\%s > /var/tmp/pppd-last-restart.status', + }, + }, 'kea-dhcp-server': { 'subnets': { 'enp1s0.1138': {