#!/bin/sh
# Restarts the service after an upgrade if it is enabled. Does nothing while
# building a firmware image (IPKG_INSTROOT).
[ -n "${IPKG_INSTROOT}" ] && exit 0
if /etc/init.d/tuna-tiny enabled; then
    /etc/init.d/tuna-tiny restart
fi
exit 0
