From 1ccc08a3237745c9d392cb389b9b13f13e6e6cdb Mon Sep 17 00:00:00 2001 From: Ruledo Date: Thu, 2 Jan 2025 20:49:04 -0800 Subject: [PATCH] Removed dhclient hook. I was totally wrong about meshtasticd not listening when network is changed and this is not needed. --- .../etc/dhcp/dhclient-exit-hooks.d/restart-meshtasticd | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/dhcp/dhclient-exit-hooks.d/restart-meshtasticd diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/dhcp/dhclient-exit-hooks.d/restart-meshtasticd b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/dhcp/dhclient-exit-hooks.d/restart-meshtasticd deleted file mode 100755 index cb04a09..0000000 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/dhcp/dhclient-exit-hooks.d/restart-meshtasticd +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [ "$reason" = "BOUND" ] || [ "$reason" = "RENEW" ]; then - systemctl stop meshtasticd.service - sleep 5 - systemctl start meshtasticd.service -fi \ No newline at end of file