summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-15 09:36:27 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-15 09:36:27 +0200
commitd91ed326d7a8509acc1f41d0bbe5720424a05018 (patch)
treef21ebb43432c76f4d4edd8e70d31ee3718c63e89
parent40d0930727300c21ac24a9799078aa7a25e8a268 (diff)
downloadvyatta-cfg-d91ed326d7a8509acc1f41d0bbe5720424a05018.tar.gz
vyatta-cfg-d91ed326d7a8509acc1f41d0bbe5720424a05018.zip
T3355: vyos-router startup and shutdown is handled by vyos-1x code
-rw-r--r--configure.ac3
-rw-r--r--debian/vyatta-cfg.postinst.in2
-rw-r--r--debian/vyatta-cfg.prerm.in5
3 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 447e366..b141216 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,8 +41,7 @@ AM_CONDITIONAL([USE_UNIONFSFUSE], [test "$enable_unionfsfuse" != no])
AC_CONFIG_FILES(
[Makefile]
[perl_dmod/Makefile]
- [debian/vyatta-cfg.postinst]
- [debian/vyatta-cfg.prerm])
+ [debian/vyatta-cfg.postinst])
AC_SUBST(NOSTRIP)
PKG_CHECK_MODULES(GOBJECT, [gobject-2.0])
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index a1864fd..246f3f8 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -16,8 +16,6 @@ for dir in $sysconfdir/config $prefix/config; do
chgrp vyattacfg $dir 2>/dev/null
done
-systemctl enable vyos-router.service >/dev/null
-
# capability stuff
for bin in my_cli_bin my_cli_shell_api; do
touch -ac $sbindir/$bin
diff --git a/debian/vyatta-cfg.prerm.in b/debian/vyatta-cfg.prerm.in
deleted file mode 100644
index cc01594..0000000
--- a/debian/vyatta-cfg.prerm.in
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash -e
-
-if [ "$1" = "purge" ]; then
- systemctl disable vyos-router.service >/dev/null || exit $?
-fi