projects
/
busybox-power
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
74a9f95a0d809b780a3380951ca4dad29340a4d9
[busybox-power]
/
debian
/
busybox-power.prerm
1
#!/bin/sh
2
set -e
3
4
sh /opt/busybox-power/uninstall-binary.sh
5
6
line="trap exit SIGHUP #by busybox-power"
7
if grep -F -q "$line" /etc/profile; then
8
sed "/$line/d" /etc/profile > /tmp/profile.sed
9
mv /tmp/profile.sed /etc/profile
10
fi
11