summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart
blob: a5741654933315e1489bc74014542a247a63aa5e (plain)
1
2
3
4
5
6
7
8
if [ -x "/etc/init.d/#SCRIPT#" ]; then
	update-rc.d #SCRIPT# #INITPARMS# >/dev/null
	if [ "$1" = "configure" ]; then
		if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
			/etc/init.d/#SCRIPT# start
		fi
	fi
fi