blob: 7eb1f5032efb5e8d4546dcca7990e66e92d52134 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/sh
post_install() {
setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip usr/bin/goxray 2>/dev/null || chmod +s usr/bin/goxray
}
post_upgrade() {
post_install "$1"
}
|