/opt/busybox-power/busybox.power sh /opt/busybox-power/install-binary.sh
+# Workaround for bug 5317
+if ! grep -q "trap exit SIGHUP SIGINT SIGTERM" /home/user/.profile; then
+ echo "trap exit SIGHUP SIGINT SIGTERM #by busybox-power" >> /home/user/.profile
+fi
+
sh /opt/busybox-power/uninstall-binary.sh
+if grep -q "trap exit SIGHUP SIGINT SIGTERM #by busybox-power" /home/user/.profile; then
+ sed '/trap exit SIGHUP SIGINT SIGTERM #by busybox-power/d' /home/user/.profile > /tmp/.profile.sed
+ mv /tmp/.profile.sed /home/user/.profile
+fi
+