Skip to content

Commit 11ac7a4

Browse files
committed
set capability on 'monitor' to set loopback multicast flag, if needed
1 parent 7045fd8 commit 11ac7a4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

debian/ka9q-radio-monitor.postinst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
bin=$(command -v ka9q-monitor 2>/dev/null || true)
3+
if [ -n "$bin" ]; then
4+
setcap cap_net_admin+ep "$bin" || true
5+
fi

0 commit comments

Comments
 (0)