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/libnl/classid.new
config etc/libnl/pktloc.new

( cd usr/lib64 ; rm -rf libnl-3.so )
( cd usr/lib64 ; ln -sf libnl-3.so.200.26.0 libnl-3.so )
( cd usr/lib64 ; rm -rf libnl-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-3.so.200.26.0 libnl-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-cli-3.so )
( cd usr/lib64 ; ln -sf libnl-cli-3.so.200.26.0 libnl-cli-3.so )
( cd usr/lib64 ; rm -rf libnl-cli-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-cli-3.so.200.26.0 libnl-cli-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-genl-3.so )
( cd usr/lib64 ; ln -sf libnl-genl-3.so.200.26.0 libnl-genl-3.so )
( cd usr/lib64 ; rm -rf libnl-genl-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-genl-3.so.200.26.0 libnl-genl-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-idiag-3.so )
( cd usr/lib64 ; ln -sf libnl-idiag-3.so.200.26.0 libnl-idiag-3.so )
( cd usr/lib64 ; rm -rf libnl-idiag-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-idiag-3.so.200.26.0 libnl-idiag-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-nf-3.so )
( cd usr/lib64 ; ln -sf libnl-nf-3.so.200.26.0 libnl-nf-3.so )
( cd usr/lib64 ; rm -rf libnl-nf-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-nf-3.so.200.26.0 libnl-nf-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-route-3.so )
( cd usr/lib64 ; ln -sf libnl-route-3.so.200.26.0 libnl-route-3.so )
( cd usr/lib64 ; rm -rf libnl-route-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-route-3.so.200.26.0 libnl-route-3.so.200 )
( cd usr/lib64 ; rm -rf libnl-xfrm-3.so )
( cd usr/lib64 ; ln -sf libnl-xfrm-3.so.200.26.0 libnl-xfrm-3.so )
( cd usr/lib64 ; rm -rf libnl-xfrm-3.so.200 )
( cd usr/lib64 ; ln -sf libnl-xfrm-3.so.200.26.0 libnl-xfrm-3.so.200 )
