summarylogtreecommitdiffstats
path: root/busybox-norootreboot.install
blob: edf1465c1566b95e19f913b13f992952983a4ca5 (plain)
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
}