summarylogtreecommitdiffstats
path: root/ambient.install
blob: 109c006a6b071c82d63f467fdcc3d7b484cf0479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
_setcap_for_ambient() {
    # This is required for the server browser to be able to show ping.
    setcap cap_net_raw=pe /usr/bin/ambient
}

post_install() {
    _setcap_for_ambient
}

post_upgrade() {
    _setcap_for_ambient
}