Installation script of "lprng"
echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.lprng
else
echo "ERROR: fillup not found. This should not happen. Please compare"
echo "etc/rc.config and var/adm/fillup-templates/rc.config.lprng and update"
echo "by hand."
fi
for DIR in ` cat etc/printcap | \
grep -v "^#" | \
grep "sd=" | \
sed -e"s:.*sd=:sd=:" | \
sed -e"s:sd=::" | \
sed -e"s:^/::" | \
sed -e"s/:.*//" ` ; do
if [ ! -d $DIR ] ; then
#
# apsfilter normally creates usr/spool entries, maybe it is linked
# to var/spool
DIR=`echo $DIR | sed -e"s:usr:var:"`
fi
if [ -d $DIR ] ; then
chown -R lp.lp $DIR
fi
done
(c) SuSE - Last update: 31.03.2000 12:23;