remove the SUID bit for now, fixes TMPDIR issue
[busybox-power] / debian / busybox-power.postinst
1 #!/bin/sh
2 set -e
3
4 /opt/busybox-power/busybox.power sh /opt/busybox-power/install-binary.sh
5
6 # Workaround for bug 5317
7 line="trap exit SIGHUP #by busybox-power"
8 if ! grep -F -q "$line" /etc/profile; then
9   echo "$line" >> /etc/profile
10 fi
11
12 # Set SUID bit on /bin/busybox. Privileges are automatically dropped for 
13 # applets that do not require the SUID bit to be set
14 #chmod u+s /bin/busybox 
15 # XXX - Disabled, see http://talk.maemo.org/showpost.php?p=1128548&postcount=166
16 chmod u-s /bin/busybox
17