LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-06-2006, 06:49 PM   #1
xcr
LQ Newbie
 
Registered: Mar 2006
Posts: 12

Rep: Reputation: 0
how to script after reboot


hi,
i require to call a simple shellscript, but after everytime the machine reboots. how do i do it?
thanks
 
Old 03-06-2006, 07:07 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You don't say which Linux distribution that you're running. Is there a file on your system called /etc/rc.d/rc.local or /etc/init.d/boot.local or /etc/init.d/local? You can add the call to your script in there and it will be run when the system boots.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No keyboard/mouse after reboot. Requires second reboot to work. rottie Linux - Hardware 6 01-16-2006 05:04 AM
Mandriva 10.1 fails to reboot and shows "No reboot fixup found for your hardware" ROY913 Mandriva 1 12-12-2005 02:10 AM
startup script when reboot ust Linux - Software 5 09-10-2005 06:19 PM
Bash Script reboot pazvant Programming 1 05-04-2004 05:37 PM
Reboot init script doesn't work casey0999 Linux - Software 6 02-25-2004 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration