Hi Nick,

you've gotten some good advice already, so maybe this is overkill, but
here's how I do it (added to /etc/rc.local on my machine at work) :

/usr/bin/su pawe -c "cd /home/pawe; ksh -lic '/usr/local/bin/screen -d -m 
/usr/local/bin/irssi'"

Starting a shell to start your screen ensures your environment is set
up correctly (using the -l and -i options). This means you'll have a
proper PATH etc when starting.

On Wed, Apr 08, 2009 at 04:58:38PM -0400, Nick Guenther wrote:
| I'd still like to know what's going on here. Running things from boot
| scripts appearently works on Linux, and a guy I asked last night
| seemed to think my method should work on FreeBSD, so what is OpenBSD
| doing that's upsetting screen?

I think OpenBSD is doing the sane thing here, not processing your
login scripts when you're not asking for a login shell. If that is
what you want, that's what you should configure. My 0.02 cents says
FreeBSD acts the same as OpenBSD in this regard.

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to