search for: rc_done

Displaying 14 results from an estimated 14 matches for "rc_done".

Did you mean: cr_done
2003 Jun 01
2
AW: samba installation
...in that startscript - winbind is daemon which is started, too. I attachted my samba startscript for you. I changed the PATH variable which has the same effect. - Thomas PATH=/usr/local/samba-2.2.8a/sbin:$PATH export PATH # The echo return value for success (defined in /etc/rc.config). return=$rc_done case "$1" in start) echo -n "Starting SMB services..." nmbd -D smbd -D winbindd echo -e "$return" ;; stop) echo -n "Shutting down SMB services." killproc -TERM winbindd...
1999 Oct 02
2
How to start smb server when reboot?
...a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START_SMB=yes test "$START_SMB" = "yes" || exit 0 # The echo return value for success (defined in /etc/rc.config). return=$rc_done case "$1" in start) echo -n "Starting SMB services:" startproc /usr/sbin/nmbd -D || return=$rc_failed startproc /usr/sbin/smbd -D || return=$rc_failed echo -e "$return" ;; stop) echo -n "Shutting down SMB ser...
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...ve I done wrong ? Thank you for replies. Ixen -------------- My configuration: Celeron 450MHz, 256MB RAM Kernel 2.6.9 patched for imq support (imq devices compiled into kernel) iptables 1.2.11 (also patched for imq) Script: #!/bin/sh DOWNIF=''imq0'' UPIF=''imq1'' rc_done=" done" rc_failed=" failed" TC=''/sbin/tc'' IPTABLES=''/usr/sbin/iptables'' IFCONFIG=''/sbin/ifconfig'' MODPROBE=''/sbin/modprobe'' return=$rc_done tc_reset () { # remove old devices if any echo "R...
2003 Jun 02
0
AW: Re: AW: samba installation
...too. I attachted my samba startscript for you. > >I changed the PATH variable which has the same effect. > >- Thomas > > > >PATH=/usr/local/samba-2.2.8a/sbin:$PATH > >export PATH > ># The echo return value for success (defined in /etc/rc.config). > >return=$rc_done > >case "$1" in > >start) > >echo -n "Starting SMB services..." > >nmbd -D > >smbd -D > >winbindd > >echo -e "$return" > >;; > >stop) > >echo -n "Shutting down SMB services." > >killproc -TERM...
2007 Apr 18
2
[Bridge] bridge-utils + Linksys WET11
...uter doesn't even know it's wireless, should it? Is this some sort of stp issue? Any suggestions would be much appreciated. I'm out of ideas. #!/bin/bash # bridge="br100" bridge_br100_devices="eth1 eth2 eth3 eth4" bridge_br100_ip="192.168.1.1" return=$rc_done case "$1" in start) for b in ${bridge} do echo "Create Bridge ${b}" /usr/sbin/brctl addbr ${b} || { retval=$? echo ${retval} "Failed to create bridge ${b}"...
1999 Dec 16
3
Samab and init.d
Is it better to start Samba using in initd, or to use the script, much like the one provided by SuSE. ?? so far I have used the script, but I don't like the fact of having to start samba manually. I would much prefer to see it run as a service. just to confirm all it really involves is starting smbd and nmbd Rowan [TSS] Gerber Scientific Products http://www.gspinc.com
2003 Jun 02
0
AW: Re: AW: samba installation
...>>I changed the PATH variable which has the same effect. >> >>- Thomas >> >> >> >>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >> >>export PATH >> >># The echo return value for success (defined in /etc/rc.config). >> >>return=$rc_done >> >>case "$1" in >> >>start) >> >>echo -n "Starting SMB services..." >> >>nmbd -D >> >>smbd -D >> >>winbindd >> >>echo -e "$return" >> >>;; >> >>stop) >>...
2003 Jun 02
0
AW: AW: Re: AW: samba installation
...>>I changed the PATH variable which has the same effect. >> >>- Thomas >> >> >> >>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >> >>export PATH >> >># The echo return value for success (defined in /etc/rc.config). >> >>return=$rc_done >> >>case "$1" in >> >>start) >> >>echo -n "Starting SMB services..." >> >>nmbd -D >> >>smbd -D >> >>winbindd >> >>echo -e "$return" >> >>;; >> >>stop) >>...
2003 Jun 02
0
AW: AW: Re: AW: samba installation
...e same effect. >>> >>>- Thomas >>> >>> >>> >>>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >>> >>>export PATH >>> >>># The echo return value for success (defined in /etc/rc.config). >>> >>>return=$rc_done >>> >>>case "$1" in >>> >>>start) >>> >>>echo -n "Starting SMB services..." >>> >>>nmbd -D >>> >>>smbd -D >>> >>>winbindd >>> >>>echo -e "$return&qu...
2002 Aug 29
1
Need Help: Sometimes Stop during smbd start
...uot;yes" || exit 0 if [ ! -x $SMB_BIN ] ; then echo -n "SMB demon not installed ! " exit 5 fi if [ ! -x $NMB_BIN ] ; then echo -n "NMB demon not installed ! " exit 5 fi # The echo return value for success (defined in /etc/rc.config). #return=$rc_done . /etc/rc.status rc_reset case "$1" in start) echo -n "Starting SAMBA nmbd :" checkproc $NMB_BIN if [ $? -eq 0 ] ; then echo -n " Warning: nmbd already running ! " else [ -e $NMB_PID ] && echo -n &quot...
2003 Jun 02
1
AW: AW: AW: AW: Re: AW: samba installatio
...- Thomas >>>> >>>> >>>> >>>>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >>>> >>>>export PATH >>>> >>>># The echo return value for success (defined in /etc/rc.config). >>>> >>>>return=$rc_done >>>> >>>>case "$1" in >>>> >>>>start) >>>> >>>>echo -n "Starting SMB services..." >>>> >>>>nmbd -D >>>> >>>>smbd -D >>>> >>>>winbindd &...
2003 Jun 02
0
AW: AW: AW: Re: AW: samba installation
...e same effect. >>> >>>- Thomas >>> >>> >>> >>>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >>> >>>export PATH >>> >>># The echo return value for success (defined in /etc/rc.config). >>> >>>return=$rc_done >>> >>>case "$1" in >>> >>>start) >>> >>>echo -n "Starting SMB services..." >>> >>>nmbd -D >>> >>>smbd -D >>> >>>winbindd >>> >>>echo -e "$return&qu...
2003 Jun 02
0
AW: AW: AW: Re: AW: samba installatio
...- Thomas >>>> >>>> >>>> >>>>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >>>> >>>>export PATH >>>> >>>># The echo return value for success (defined in /etc/rc.config). >>>> >>>>return=$rc_done >>>> >>>>case "$1" in >>>> >>>>start) >>>> >>>>echo -n "Starting SMB services..." >>>> >>>>nmbd -D >>>> >>>>smbd -D >>>> >>>>winbindd &...
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello, I run one of my PCs as my personal router, with iptables+tc to control traffic and be my firewall. In TC, I use a combination of htb, qdisc and sfq (as well as prio) to classify bandwidth. In my current setup, I have 10 classifications of my bandwidth. (Even I admit this is probably more than I need, but at this point I''m still learning, so I''ll just leave them be.)