Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: nirc & sudo< Next Oldest | Next Newest >
dsp Offline





Group: Members
Posts: 3
Joined: Feb. 2006
Posted: Feb. 04 2006,06:41 QUOTE

Hi all,

I'm tryin' to make work this command line at boot.

Code Sample

sudo -u dsl screen -dmS irc nirc


I putted the script in the /etc/init.d/ folder and i did update-rc.d.

The problem is that nirc executed with the script at boot don't load the settings of .nircrc :(

i tried to load the script after the login and works....
I really don't know where the problem is :(

Is it possible set nirc with an external config ? :)

Something like nirc --input-config=/.config :D

ThanX for the help :)
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 04 2006,16:29 QUOTE

Is user dsl being logged in automatically?  If so, put the command in /home/dsl/.bash_profile (without the "sudo" part).  Boot scripts are not really intended to run user commands.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Feb. 04 2006,06:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: nirc & sudo

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code