diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-02 06:38:55 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 16:25:43 +0700 |
commit | 20f8f9b01e3f20447d7141026e7945b78e101ecd (patch) | |
tree | b05b9bc93767809d719d51746d1a8f1ad3523ba8 /network/pdnsd/doinst.sh | |
parent | 31385f0c32704f4351c3a96be7921e30ba6598a3 (diff) |
network/pdnsd: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pdnsd/doinst.sh')
-rw-r--r-- | network/pdnsd/doinst.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/network/pdnsd/doinst.sh b/network/pdnsd/doinst.sh deleted file mode 100644 index b09bee1dad33..000000000000 --- a/network/pdnsd/doinst.sh +++ /dev/null @@ -1,23 +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.pdnsd.new: -if [ -e etc/rc.d/rc.pdnsd ]; then - cp -a etc/rc.d/rc.pdnsd etc/rc.d/rc.pdnsd.new.incoming - cat etc/rc.d/rc.pdnsd.new > etc/rc.d/rc.pdnsd.new.incoming - mv etc/rc.d/rc.pdnsd.new.incoming etc/rc.d/rc.pdnsd.new -fi - -config etc/rc.d/rc.pdnsd.new -config etc/pdnsd.conf.new - |