blob: 8e5159e8385391a87155957dec63da352c3305bc (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_install() {
setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping
setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
}
post_upgrade() {
post_install "$1"
}
# vim:set ts=2 sw=2 et:
|