On Sat, 2004-07-31 at 14:56, Hoyt Bailey wrote:
> On Saturday 31 July 2004 10:24, Anguo wrote:
> > Please anyone,
> >
> > could you do the following commands and send me the output:
> >
> > # cd /etc/init.d
> >
> > [EMAIL PROTECTED] init.d]# cat tmdns
> >
> > [EMAIL PROTECTED] init.d]# cat zcip
> > Anguo
> I can't imagine it can help but here it is:[EMAIL PROTECTED]
> hoyt]$ cd /etc/init.d
> [EMAIL PROTECTED] init.d]$ cat tmdns
> cat: tmdns: No such file or directory
> [EMAIL PROTECTED] init.d]$ cat zcip
> cat: zcip: No such file or directory
> [EMAIL PROTECTED] init.d]$
Roflmao
Hoyt, you are priceless. :)
I don't have zcip but I did have tmdns:
-------------------------------------------------------------------------
#!/bin/bash
#
# tmdns This shell script takes care of starting and stopping
# tmdns
#
# chkconfig: 345 55 45
# description: Tmdns is tiny/trivial Multicast DNS Responder for Linux.
\
# It should allow you to take part in a zeroconf environment.
# probe: false
. /etc/init.d/functions
# Check that networking is up.
[ "${NETWORKING}" = "no" ] && exit 0
RETVAL=0
prog="tmdns"
start() {
# Start daemons.
gprintf "Starting %s: " $prog
daemon $prog
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
touch /var/lock/subsys/$prog
/sbin/update-resolvrdv
fi
echo
return $RETVAL
}
stop() {
# Stop daemons.
gprintf "Stopping %s: " $prog
killproc $prog
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/$prog
/sbin/update-resolvrdv -r
fi
echo
return $RETVAL
}
restart() {
stop
start
}
reload() {
/usr/bin/killall -HUP $prog
RETVAL=$?
return $RETVAL
}
_status() {
status $prog
RETVAL=$?
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
_status
;;
restart)
restart
;;
condrestart)
[ -f /var/lock/subsys/$prog ] && restart
;;
reload)
reload
;;
*)
gprintf "Usage: %s
{start|stop|status|restart|condrestart|reload}\n" $0
exit 1
esac
exit $?
----------------------------------------------------------------------------------------
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________