

root@dans-computer:/etc/rc.d# ls
rc.0@ rc.M* rc.atalk rc.gpm* rc.inet1.conf rc.local* rc.nfsd* rc.sendmail* rc.sysvinit*
rc.4* rc.S* rc.bind rc.hotplug* rc.inet2* rc.lprng rc.pcmcia* rc.serial* rc.yp*
rc.6* rc.acpid* rc.cups rc.httpd rc.inetd* rc.modules* rc.portmap rc.sshd*
rc.K* rc.alsa* rc.font.sample* rc.inet1* rc.ip_forward rc.mysqld rc.samba rc.syslog*

#!/bin/sh
#
# Start the Squid proxy server
#
case "$1" in
'start')
/usr/sbin/squid start ;;
'stop')
/usr/sbin/squid stop ;;
'restart')
/usr/sbin/squid restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
# Start Squid Proxy server
if [ -x /etc/rc.d/rc.squid ]; then
. /etc/rc.d/rc.squid start
fi
Users browsing this forum: No registered users and 1 guest