freenetis-dhcp-github/deb/prerm @ dbe1edf3
c95784dc | Ondřej Fibich | #!/bin/sh
|
|
# FreenetIS-dhcp DEB: actions before uninstalling of package
|
|||
set -e
|
|||
NAME=freenetis-dhcp
|
|||
# stop daemon
|
|||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
|||
invoke-rc.d $NAME stop 3>/dev/null || true
|
|||
else
|
|||
/etc/init.d/$NAME stop 3>/dev/null || true
|
|||
fi
|
|||
exit 0
|