This file is indexed.

postinst is in zentyal-network 2.3.13+quantal1.

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
19
20
21
22
23
#!/bin/bash

set -e



case "$1" in
    configure)
        # inital setup
        /usr/share/zentyal/initial-setup --no-restart network $2

        # restart module
        invoke-rc.d zentyal network restart || true

        # restart trafficshaping, ignore error if not exists
        # this is regenerate mangle rules after the flush in network restart
        invoke-rc.d zentyal trafficshaping restart >/dev/null 2>&1 || true

        dpkg-trigger --no-await zentyal-core
    ;;
esac

exit 0