diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:03 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:03 +0200 |
commit | 473e900b213fddb3eba22d41bf03b06c9960c7fc (patch) | |
tree | 16b3cf6f49c6046138ee671a5d8b61a5d9fab2be /network/wifi-radar/doinst.sh | |
parent | f92994b3c5fcbc8d4ab11d40e916a56ade9b7b49 (diff) |
network/wifi-radar: Removed from 13.0 repository
Diffstat (limited to 'network/wifi-radar/doinst.sh')
-rw-r--r-- | network/wifi-radar/doinst.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/network/wifi-radar/doinst.sh b/network/wifi-radar/doinst.sh deleted file mode 100644 index e1eb1f5802517..0000000000000 --- a/network/wifi-radar/doinst.sh +++ /dev/null @@ -1,32 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 -fi - -# Keep same perms on rc.wifi-radar.new: -if [ -e etc/rc.d/rc.wifi-radar ]; then - cp -a etc/rc.d/rc.wifi-radar etc/rc.d/rc.wifi-radar.new.incoming - cat etc/rc.d/rc.wifi-radar.new > etc/rc.d/rc.wifi-radar.new.incoming - mv etc/rc.d/rc.wifi-radar.new.incoming etc/rc.d/rc.wifi-radar.new -fi - -config etc/wifi-radar.conf.new -config etc/rc.d/rc.wifi-radar.new - -echo "Remember to edit /etc/wifi-radar.conf to suit your needs..." -echo -echo "To use wifi-radar with a normal user (with sudo) add:" -echo "%users ALL = NOPASSWD: /usr/sbin/wifi-radar" -echo "to /etc/sudoers, then launch wifi-radar.sh" -echo |