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...
}

config etc/sbotools/sbotools.conf.new
config etc/sbotools/sbotools.hints.new
( cd usr/bin ; rm -rf sbocheck )
( cd usr/bin ; ln -sf ../sbin/sbocheck sbocheck )
( cd usr/bin ; rm -rf sboconfig )
( cd usr/bin ; ln -sf ../sbin/sboconfig sboconfig )
( cd usr/bin ; rm -rf sbofind )
( cd usr/bin ; ln -sf ../sbin/sbofind sbofind )
( cd usr/bin ; rm -rf sbohints )
( cd usr/bin ; ln -sf ../sbin/sbohints sbohints )
( cd usr/bin ; rm -rf sboinstall )
( cd usr/bin ; ln -sf ../sbin/sboinstall sboinstall )
( cd usr/bin ; rm -rf sboupgrade )
( cd usr/bin ; ln -sf ../sbin/sboupgrade sboupgrade )
( cd usr/man/man1 ; rm -rf sbosnap.1.gz )
( cd usr/man/man1 ; ln -sf sbocheck.1.gz sbosnap.1.gz )
( cd usr/sbin ; rm -rf sbosnap )
( cd usr/sbin ; ln -sf sbocheck sbosnap )
