X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Fprerm;fp=debian%2Fprerm;h=7fdade534a44aba6567fcb495efc5a94258aa9d1;hb=4127b47cd6603d328e540f4f69f66fad9b303fa7;hp=0000000000000000000000000000000000000000;hpb=5c137b7d6af54fb54dfe13b65c933b5b6a4c764c;p=onak.git diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..7fdade5 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,8 @@ +#! /bin/sh + +# If keyd was enabled then make sure to stop it. +if grep -q -E '^use_keyd *(true|yes|1)$' /etc/onak.conf; then + invoke-rc.d onak stop || exit $? +fi + +#DEBHELPER#