From a09af30c9a9ad50b19b0dc67c9de19d906bca5b7 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 25 Jul 2014 20:28:04 +0200 Subject: Set vyos-intfwatchd to start at boot by default. --- debian/vyatta-cfg-system.postinst.in | 3 +++ etc/init.d/vyos-intfwatchd | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index fde99041..88471efb 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -211,6 +211,9 @@ done # add vyatta-config-reboot-params to start at boot up update-rc.d vyatta-config-reboot-params start 20 S +# set vyos-intfwatchd to start at boot +update-rc.d vyos-intfwatchd start 2345 + # Local Variables: # mode: shell-script # sh-indentation: 4 diff --git a/etc/init.d/vyos-intfwatchd b/etc/init.d/vyos-intfwatchd index fd7216c6..6c5907a5 100755 --- a/etc/init.d/vyos-intfwatchd +++ b/etc/init.d/vyos-intfwatchd @@ -2,8 +2,8 @@ ### BEGIN INIT INFO # Provides: vyos-intfwatchd -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog +# Required-Start: vyatta-router +# Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Interface status monitoring daemon -- cgit v1.2.3