Merge branch 'master' of https://git.maemo.org/projects/udhcp
[udhcp] / debian / prerm.udhcpd
1 #!/bin/sh -e
2
3 if [ "$1" = remove ]; then
4         if command -v invoke-rc.d >/dev/null 2>&1; then
5                 invoke-rc.d udhcpd stop || true
6         else
7                 /etc/init.d/udhcpd stop
8         fi
9 fi