diff options
author | RageLtMan <rageltman [at] sempervictus> | 2023-03-04 16:10:00 -0500 |
---|---|---|
committer | RageLtMan <rageltman [at] sempervictus> | 2023-03-05 18:28:37 -0500 |
commit | 25e02216f87665996349c9c311d50801f3de8836 (patch) | |
tree | ddb6e7dc85b0171e833501a5ab184fca6e38a278 /debian/vyatta-cfg.prerm.in | |
parent | 6db96d9cfd881cd20aa8a63441cd680137def75f (diff) | |
download | vyatta-cfg-25e02216f87665996349c9c311d50801f3de8836.tar.gz vyatta-cfg-25e02216f87665996349c9c311d50801f3de8836.zip |
Move postrm service hook to prerm
Diffstat (limited to 'debian/vyatta-cfg.prerm.in')
-rw-r--r-- | debian/vyatta-cfg.prerm.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.prerm.in b/debian/vyatta-cfg.prerm.in new file mode 100644 index 0000000..cc01594 --- /dev/null +++ b/debian/vyatta-cfg.prerm.in @@ -0,0 +1,5 @@ +#!/bin/bash -e + +if [ "$1" = "purge" ]; then + systemctl disable vyos-router.service >/dev/null || exit $? +fi |