D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
lib
/
dpkg
/
info
/
Filename :
iputils-ping.postinst
back
Copy
#!/bin/sh set -e PROGRAM=$(dpkg-divert --truename /bin/ping) if [ "$1" = configure ]; then if setcap cap_net_raw+ep $PROGRAM; then chmod u-s $PROGRAM fi fi exit 0 # Local variables: # mode: shell-script # tab-width: 4 # indent-tabs-mode: nil # end: