Re: rc.local fails to work

2008-11-05 Thread green
On Wed, 2008.11.05, 310, Stephen Liu wrote: > I have 3 commands on /etc/rc.local > > > # cat /etc/rc.local > /bin/sh -e > # > # rc.local > # > > /usr/local/bind/sbin/named -u named -t /usr/local/bind -c > /etc/named.conf > > /usr/local/sbin/clamd > > su - amavis -c "/usr/local/sbin/amavisd" >

Re: rc.local fails to work

2008-11-05 Thread Hugo Vanwoerkom
Douglas A. Tutty wrote: On Wed, Nov 05, 2008 at 09:10:18AM +0800, Stephen Liu wrote: Debian Etch I have 3 commands on /etc/rc.local # cat /etc/rc.local /bin/sh -e in my /etc/rc.local, this line is #!/bin/sh -e Note the pound-bang (#!) that makes this script run by sh rather than running

Re: rc.local fails to work

2008-11-04 Thread Douglas A. Tutty
On Wed, Nov 05, 2008 at 09:10:18AM +0800, Stephen Liu wrote: > Debian Etch > > > I have 3 commands on /etc/rc.local > > > # cat /etc/rc.local > /bin/sh -e in my /etc/rc.local, this line is #!/bin/sh -e Note the pound-bang (#!) that makes this script run by sh rather than running sh -e as a c

rc.local fails to work

2008-11-04 Thread Stephen Liu
Hi folks, Debian Etch I have 3 commands on /etc/rc.local # cat /etc/rc.local /bin/sh -e # # rc.local # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf /usr/local/sbin/clamd su - amavis -c "/usr/local/sbin/amavisd" exit 0 * end * # ls -l /etc/rc.local -rwxr-xr-x