summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postinst.in
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2018-10-14 21:33:06 +0200
committerDaniil Baturin <daniil@baturin.org>2018-10-15 02:33:06 +0700
commit576786c97065c8e5638e9e0a7cad688175cd3746 (patch)
tree8fc811fa1e16e4a63fd652d98394e7b4610ccfaf /debian/vyatta-cfg.postinst.in
parent1f1175135c8b15322852319150c8ed12d99b7a92 (diff)
downloadvyatta-cfg-576786c97065c8e5638e9e0a7cad688175cd3746.tar.gz
vyatta-cfg-576786c97065c8e5638e9e0a7cad688175cd3746.zip
Rework vyos router init (#11)
* Add a systemd vyos.target and split the vyatta-router init script to multiple systemd scripts. * remove ref to cloud-init * Remove vyatta-router init and rename vyatta-router to vyos-initialize. * Install files to correct dirs * try to fix systemd boot issues * Update script names run config load in background to not block systemd * Prevent cat: write error: Broken pipe * Rework vyos startup * add systemd to Makefile.am * Update script name * Fix inclusion of getty conf * Fix indentation
Diffstat (limited to 'debian/vyatta-cfg.postinst.in')
-rw-r--r--debian/vyatta-cfg.postinst.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index fc9b07b..a741b62 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -16,8 +16,7 @@ for dir in $sysconfdir/config $prefix/config; do
chgrp vyattacfg $dir 2>/dev/null
done
-update-rc.d vyatta-router defaults 90 >/dev/null
-systemctl enable vyatta-router.service >/dev/null
+systemctl enable vyos-router.service >/dev/null
# capability stuff
for bin in my_cli_bin my_cli_shell_api; do