File: iputils-arping.postinst

package info (click to toggle)
iputils 3%3A20250605-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,848 kB
  • sloc: ansic: 6,033; xml: 1,797; sh: 543; makefile: 28
file content (21 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

PROGRAM=$(dpkg-divert --truename /usr/bin/arping)

if [ "$1" = configure ]; then
    if setcap cap_net_raw+ep $PROGRAM; then
        chmod u-s $PROGRAM
    fi
fi

#DEBHELPER#

exit 0

# Local variables:
# mode: shell-script
# tab-width: 4
# indent-tabs-mode: nil
# end: