diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-07-25 20:28:04 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-07-25 20:28:04 +0200 |
commit | a09af30c9a9ad50b19b0dc67c9de19d906bca5b7 (patch) | |
tree | 6c5632cd1c39de8c91e13315ccfafdfbd09d83bb | |
parent | 45184824efb94187e6f68c7ba1541b1a294b6f85 (diff) | |
download | vyatta-cfg-system-a09af30c9a9ad50b19b0dc67c9de19d906bca5b7.tar.gz vyatta-cfg-system-a09af30c9a9ad50b19b0dc67c9de19d906bca5b7.zip |
Set vyos-intfwatchd to start at boot by default.
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 3 | ||||
-rwxr-xr-x | 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 |