File: quagga-core.postrm

package info (click to toggle)
quagga 1.2.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 16,788 kB
  • sloc: ansic: 262,230; sh: 5,570; makefile: 717; perl: 329; lisp: 62; awk: 30
file content (14 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -eu

case "$1" in

remove)
    # remove watchquagga masking for systemd
    if [ "$(readlink -f /lib/systemd/system/watchquagga.service)" == "/dev/null" ]; then
        rm /lib/systemd/system/watchquagga.service
    fi
    ;;
esac

#DEBHELPER#