This file is indexed.

postinst is in opensm 3.3.15-2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/sh

# Automatically added by dh_installinit
if [ -x "/etc/init.d/opensm" ]; then
	if [ ! -e "/etc/init/opensm.conf" ]; then
		update-rc.d opensm defaults >/dev/null
	fi
	invoke-rc.d opensm start || exit $?
fi
# End automatically added section