9 lines
185 B
Text
9 lines
185 B
Text
case ${ACTION} in
|
|
post)
|
|
# Set required capability to ping{,6}.
|
|
for f in ping ping6; do
|
|
setcap cap_net_raw=ep usr/sbin/${f} 2>/dev/null || \
|
|
chmod +s usr/sbin/${f}
|
|
done
|
|
;;
|
|
esac
|