postinst is in uec-provisioning-webui 0.4.
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 | #!/bin/sh -e
if [ ! -e /etc/uec-provisioning/webui.cfg ]; then
# Seed the webui configuration, if it doesn't exist
ipaddr=$(/usr/lib/uec-provisioning/ip_helper address)
sed -e "s/__IPADDR__/$ipaddr/g" /usr/share/uec-provisioning/webui.cfg.template > /etc/uec-provisioning/webui.cfg
fi
/usr/lib/uec-provisioning/setup-preseed
|