summarylogtreecommitdiffstats
path: root/nethogs.install
blob: 5ee318d7c73d991ec635a78f574e4dac91d8f43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

message(){
  echo "In order to be run by a non-root user, nethogs needs the cap_net_admin and cap_net_raw capabilities. These can be set on the executable by using the setcap command, as follows:

sudo setcap \"cap_net_admin,cap_net_raw+pe\" /usr/local/sbin/nethogs
"
}

post_upgrade(){
  message
}

post_install(){
  message
}