1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
post_install() { groupadd --system busybox chmod +s /usr/bin/busybox chown root:busybox /usr/bin/busybox gpasswd --add root busybox echo "You might want to add your user to the 'busybox' group" } post_remove() { groupdel busybox } post_upgrade() { chmod +s /usr/bin/busybox chown root:busybox /usr/bin/busybox }