#!/bin/sh set -e /opt/busybox-power/busybox.power sh /opt/busybox-power/install-binary.sh # Workaround for bug 5317 line="trap exit SIGHUP #by busybox-power" if ! grep -F -q "$line" /etc/profile; then echo "$line" >> /etc/profile fi # Set SUID bit on /bin/busybox. Privileges are automatically dropped for # applets that do not require the SUID bit to be set #chmod u+s /bin/busybox # XXX - Disabled, see http://talk.maemo.org/showpost.php?p=1128548&postcount=166 chmod u-s /bin/busybox