1 2 3 4 5 6 7
post_install() { setcap cap_dac_override,cap_sys_rawio,cap_sys_tty_config=ep usr/bin/zhcon } post_upgrade() { post_install $1 }