postinst is in firehol 1.297-1.
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 11 12 13 14 15 16 17 18 | #!/bin/sh
set -e
if [ -f /etc/firehol.conf ]; then
mv -f /etc/firehol.conf /etc/firehol/firehol.conf
echo
echo
echo "FireHOL has now its configuration in /etc/firehol/firehol.conf"
echo "Your existing configuration has been moved to its new place."
echo
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/firehol" ] || [ -e "/etc/init/firehol.conf" ]; then
if [ ! -e "/etc/init/firehol.conf" ]; then
update-rc.d firehol defaults >/dev/null
fi
invoke-rc.d firehol start || exit $?
fi
# End automatically added section
|