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/lib ; rm -rf libnl-3.so )
( cd usr/lib ; ln -sf libnl-3.so.200.26.0 libnl-3.so )
( cd usr/lib ; rm -rf libnl-3.so.200 )
( cd usr/lib ; ln -sf libnl-3.so.200.26.0 libnl-3.so.200 )
( cd usr/lib ; rm -rf libnl-cli-3.so )
( cd usr/lib ; ln -sf libnl-cli-3.so.200.26.0 libnl-cli-3.so )
( cd usr/lib ; rm -rf libnl-cli-3.so.200 )
( cd usr/lib ; ln -sf libnl-cli-3.so.200.26.0 libnl-cli-3.so.200 )
( cd usr/lib ; rm -rf libnl-genl-3.so )
( cd usr/lib ; ln -sf libnl-genl-3.so.200.26.0 libnl-genl-3.so )
( cd usr/lib ; rm -rf libnl-genl-3.so.200 )
( cd usr/lib ; ln -sf libnl-genl-3.so.200.26.0 libnl-genl-3.so.200 )
( cd usr/lib ; rm -rf libnl-idiag-3.so )
( cd usr/lib ; ln -sf libnl-idiag-3.so.200.26.0 libnl-idiag-3.so )
( cd usr/lib ; rm -rf libnl-idiag-3.so.200 )
( cd usr/lib ; ln -sf libnl-idiag-3.so.200.26.0 libnl-idiag-3.so.200 )
( cd usr/lib ; rm -rf libnl-nf-3.so )
( cd usr/lib ; ln -sf libnl-nf-3.so.200.26.0 libnl-nf-3.so )
( cd usr/lib ; rm -rf libnl-nf-3.so.200 )
( cd usr/lib ; ln -sf libnl-nf-3.so.200.26.0 libnl-nf-3.so.200 )
( cd usr/lib ; rm -rf libnl-route-3.so )
( cd usr/lib ; ln -sf libnl-route-3.so.200.26.0 libnl-route-3.so )
( cd usr/lib ; rm -rf libnl-route-3.so.200 )
( cd usr/lib ; ln -sf libnl-route-3.so.200.26.0 libnl-route-3.so.200 )
( cd usr/lib ; rm -rf libnl-xfrm-3.so )
( cd usr/lib ; ln -sf libnl-xfrm-3.so.200.26.0 libnl-xfrm-3.so )
( cd usr/lib ; rm -rf libnl-xfrm-3.so.200 )
( cd usr/lib ; ln -sf libnl-xfrm-3.so.200.26.0 libnl-xfrm-3.so.200 )
