summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postrm.in
blob: b184f2025b3c80639815fc6c14600ae7287687b5 (plain)
1
2
3
4
5
6
7
#!/bin/bash -e

if [ "$1" = "purge" ]; then
  update-rc.d vyatta-router remove >/dev/null || exit $?
  systemctl disable vyatta-router.service >/dev/null || exit $?
fi