diff options
author | David Woodfall <info@davidwoodfall.co.uk> | 2010-05-13 00:41:28 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:41:28 +0200 |
commit | d2c236cc653f9108c55d61234472ddc17a5e6892 (patch) | |
tree | 37376e1f1f1803916a0a97b5fa456aa529d9a1fe /system/powernowd/doinst.sh | |
parent | 6d9a73d91bbb4e5c0f52d2953bc8503f18a3a3a6 (diff) |
system/powernowd: Updated for version 1.00
Diffstat (limited to 'system/powernowd/doinst.sh')
-rw-r--r-- | system/powernowd/doinst.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/system/powernowd/doinst.sh b/system/powernowd/doinst.sh deleted file mode 100644 index 4fdea5690516..000000000000 --- a/system/powernowd/doinst.sh +++ /dev/null @@ -1,22 +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... -} - -# Keep same perms on rc.powernowd.new: -if [ -e etc/rc.d/rc.powernowd ]; then - cp -a etc/rc.d/rc.powernowd etc/rc.d/rc.powernowd.new.incoming - cat etc/rc.d/rc.powernowd.new > etc/rc.d/rc.powernowd.new.incoming - mv etc/rc.d/rc.powernowd.new.incoming etc/rc.d/rc.powernowd.new -fi - -config etc/rc.d/rc.powernowd.new - |