Script d'installation du paquetage "samba"
echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.samba
else
echo "ERROR: fillup not found. This should not happen. Please compare"
echo "etc/rc.config and var/adm/fillup-templates/rc.config.samba and"
echo "update by hand."
fi
if grep -q '^[#[:space:]]*swat' etc/inetd.conf ; then
echo /etc/inetd.conf is up to date
else
echo updating inetd.conf
cat >> etc/inetd.conf << EOF
# swat is the Samba Web Administration Tool
# swat stream tcp nowait.400 root /usr/sbin/swat swat
EOF
fi
if grep -q '^swat' etc/services ; then
echo /etc/services is up to date
else
echo updating services
cat >> etc/services << EOF
swat 901/tcp # swat is the Samba Web Administration Tool
EOF
fi
(c) S.u.S.E. - Dernière mise à jour: 23.03.99 02:54;