python3.12 compat

This commit is contained in:
Franzi 2024-04-28 21:40:35 +02:00
parent 65af9ae0c5
commit 9e78b9e07b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 6 additions and 6 deletions

View file

@ -212,8 +212,8 @@ nodes['home.nas'] = {
'nas_permissions': {
'command': [
'chown -R :nas /storage/nas/',
'find /storage/nas/ -type d -exec chmod 0775 {} \;',
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
r'find /storage/nas/ -type d -exec chmod 0775 {} \;',
r'find /storage/nas/ -type f -exec chmod 0664 {} \;',
],
'when': '*-*-* 02:00:00',
},

View file

@ -45,7 +45,7 @@ nodes['home.router'] = {
# 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',
'restart_pppd': r'23 2 * * * root systemctl restart pppoe && date -u +\%s > /var/tmp/pppd-last-restart.status',
},
},
'kea-dhcp-server': {