1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# For DEV9 netplay support post_install() { setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' opt/pcsx2/pcsx2-qt } post_upgrade() { setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' opt/pcsx2/pcsx2-qt } pre_remove() { setcap -r opt/pcsx2/pcsx2-qt }