diff options
-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 |