diff options
Diffstat (limited to 'network/sslh/doinst.sh')
-rw-r--r-- | network/sslh/doinst.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/network/sslh/doinst.sh b/network/sslh/doinst.sh index 21de93c717..b8df211d5c 100644 --- a/network/sslh/doinst.sh +++ b/network/sslh/doinst.sh @@ -1,14 +1,11 @@ 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... } preserve_perms() { @@ -24,3 +21,4 @@ preserve_perms() { preserve_perms etc/rc.d/rc.sslh.new config etc/sslh/sslh.cfg.new +config etc/default/sslh.new |