Installationsskript des Paketes "ntop"
#!/bin/sh
#
#
# install/doinst.sh - to be done after extraction
#
# Copyright (c) 1997 S.u.S.E. GmbH Fuerth, Germany.
#
#
echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.ntopd
else
echo "ERROR: fillup not found. This should not happen. Please compare"
echo "etc/rc.config and var/adm/fillup-templates/rc.config.ntopd and"
echo "update by hand."
fi
##### send mail to root #####
mkdir -p var/adm/notify/messages
cat << EOT > var/adm/notify/messages/ntopd-notify
ntop is a tool that shows the network usage
-------------------------------------------
Supposing to start ntop at the port 3000,
the URL to access is http://hostname:3000/
The file /root/.ntop specifies the
HTTP user/password of those people who are allowed to
access ntop. If the /root/.ntop file is missing no security
will be used hence everyone can access traffic information.
Please note that an HTTP server is NOT needed in
order to use the program in interactive mode.
EOT
(c) SuSE - Letzte Änderung: 31.03.2000 12:37;