Fix autostart of arpwatch

Message ID 20261126065412.1259972-1-dietzmann@brecht-schule.hamburg
State New
Headers
Series Fix autostart of arpwatch |

Commit Message

Peer Dietzmann 26 Nov 2026, 6:54 a.m. UTC
Hi All,

since we're running the autostart of arpwatch before running the rc.local, the arpwatch fails to start on all VLAN interfaces that are added later through rc.local:

[root@ipfire ~]# ls /etc/rc.d/rc3.d/ | grep -Ei 'arpwatch|local'
S64arpwatch
S98rc.local

This patch should fix this, so the arpwatch runs on position 99 after rc.local that
runs on position 98.

Best regards,
Peer

Signed-off-by: Peer Dietzmann <dietzmann@brecht-schule.hamburg>
---
 src/paks/arpwatch/install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/src/paks/arpwatch/install.sh b/src/paks/arpwatch/install.sh
index 12ff2ab36..6fb52815c 100644
--- a/src/paks/arpwatch/install.sh
+++ b/src/paks/arpwatch/install.sh
@@ -29,5 +29,5 @@  start_service ${NAME}
 
 # Enable autostart
 ln -vsf ../init.d/arpwatch /etc/rc.d/rc0.d/K12arpwatch
-ln -vsf ../init.d/arpwatch /etc/rc.d/rc3.d/S64arpwatch
+ln -vsf ../init.d/arpwatch /etc/rc.d/rc3.d/S99arpwatch
 ln -vsf ../init.d/arpwatch /etc/rc.d/rc6.d/K12arpwatch