diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-15 09:36:27 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-15 09:36:27 +0200 |
commit | d91ed326d7a8509acc1f41d0bbe5720424a05018 (patch) | |
tree | f21ebb43432c76f4d4edd8e70d31ee3718c63e89 | |
parent | 40d0930727300c21ac24a9799078aa7a25e8a268 (diff) | |
download | vyatta-cfg-d91ed326d7a8509acc1f41d0bbe5720424a05018.tar.gz vyatta-cfg-d91ed326d7a8509acc1f41d0bbe5720424a05018.zip |
T3355: vyos-router startup and shutdown is handled by vyos-1x code
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | debian/vyatta-cfg.postinst.in | 2 | ||||
-rw-r--r-- | debian/vyatta-cfg.prerm.in | 5 |
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 |