#!/bin/sh
[ -z "$IPKG_INSTROOT" ] || exit 0
/etc/init.d/localtonet stop
[ "$1" = upgrade ] || /etc/init.d/localtonet disable
exit 0
