Script d'installation du paquetage "ypserv"


echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
  if ! [ -d etc/rc.config.d ] ; then
     mkdir -p etc/rc.config.d
  fi
  if ! [ -f etc/rc.config.d/ypserv.rc.config ] ; then
     bin/fillup -q -r -i etc/rc.config var/adm/fillup-templates/rc.config.d.ypserv etc/rc.config.d/ypserv.rc.config
     mv etc/rc.config.new etc/rc.config
  else
     bin/fillup -q etc/rc.config.d/ypserv.rc.config var/adm/fillup-templates/rc.config.d.ypserv
  fi
  bin/fillup -q etc/rc.config var/adm/fillup-templates/rc.config.ypserv
else
  echo "ERROR: fillup not found. This should not happen. Please compare"
  echo "etc/rc.config and var/adm/fillup-templates/rc.config.ypserv"
  echo "and update by hand."
fi


(c) SuSE - Dernière mise à jour: 31.03.2000 12:55;