diff options
Diffstat (limited to 'nexttrace.install')
-rw-r--r-- | nexttrace.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nexttrace.install b/nexttrace.install new file mode 100644 index 000000000000..4026b1cd4d32 --- /dev/null +++ b/nexttrace.install @@ -0,0 +1,7 @@ +post_install() { + setcap cap_net_raw,cap_net_admin+eip usr/bin/nexttrace 2>/dev/null || chmod +s usr/bin/nexttrace +} + +post_upgrade() { + post_install "$1" +}
\ No newline at end of file |