Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
var
/
lib
/
dpkg
/
info
/
/var/lib/dpkg/info/iputils-arping.postinst
#!/bin/sh set -e if [ "$1" = configure ]; then # If we have setcap is installed, try setting cap_net_raw+ep, # which allows us to install our binaries without the setuid # bit. if false; then if setcap cap_net_raw+ep /usr/bin/arping; then chmod u-s /usr/bin/arping else echo "Setcap failed on /usr/bin/arping, falling back to setuid" >&2 chmod u+s /usr/bin/arping fi else chmod u+s /usr/bin/arping fi fi exit 0 # Local variables: # mode: shell-script # tab-width: 4 # indent-tabs-mode: nil # end: