]> the.earth.li Git - onak.git/blob - debian/prerm
Update Debian packaging to cope with onak.conf -> onak.ini change
[onak.git] / debian / prerm
1 #! /bin/sh
2
3 set -e
4
5 # If keyd was enabled then make sure to stop it.
6 if grep -q -E '^use_keyd=*(true|yes|1)$' /etc/onak.ini; then
7     invoke-rc.d onak stop || exit $?
8 fi
9
10 #DEBHELPER#