File: postinst-init-norestart-invoke

package info (click to toggle)
debhelper 4.0.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 684 kB
  • ctags: 49
  • sloc: perl: 2,095; makefile: 218
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download
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" -o "$2" = "<unknown>" ]; then
			invoke-rc.d #SCRIPT# start
		fi
	fi
fi