summaryrefslogtreecommitdiff
path: root/community/busybox/busybox.install
blob: ecbeec39aa02b1c611e481b894984c7819de0e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  echo "You may want to do setuid on /bin/busybox"
  echo "  chmod 4555 /bin/busybox"
}

pre_upgrade() {
  busybox stat -c %a bin/busybox >tmp/busybox.upgrade.script
}

post_upgrade() {
  [ -f tmp/busybox.upgrade.script ] && busybox chmod `busybox cat tmp/busybox.upgrade.script` bin/busybox
  busybox rm -f tmp/busybox.upgrade.script
}