From d91ed326d7a8509acc1f41d0bbe5720424a05018 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 15 Jul 2023 09:36:27 +0200 Subject: T3355: vyos-router startup and shutdown is handled by vyos-1x code --- debian/vyatta-cfg.postinst.in | 2 -- debian/vyatta-cfg.prerm.in | 5 ----- 2 files changed, 7 deletions(-) delete mode 100644 debian/vyatta-cfg.prerm.in (limited to 'debian') 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 -- cgit v1.2.3