Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd October 2007, 07:19 AM
youhaodeyi Offline
Registered User
 
Join Date: May 2007
Posts: 217
How can I set startup-script?

The current shell I login in is /bin/sh and I added some script-lines in $home/.bashrc. Why doesn't the system execute this script when I reboot it?
Reply With Quote
  #2  
Old 22nd October 2007, 07:25 AM
panosv's Avatar
panosv Offline
Registered User
 
Join Date: Jul 2005
Location: Greece
Posts: 21
What exists in ~/.bashrc and ~/.bash_profile is executed after you login in the system.

If you want to execute something before you login you can try putting it in file /etc/rc.d/rc.local
Reply With Quote
  #3  
Old 22nd October 2007, 07:43 AM
youhaodeyi Offline
Registered User
 
Join Date: May 2007
Posts: 217
Quote:
Originally Posted by panosv
What exists in ~/.bashrc and ~/.bash_profile is executed after you login in the system.

If you want to execute something before you login you can try putting it in file /etc/rc.d/rc.local
I just want to execute ~/.bashrc after I login. But actually, it wasn't executed.
Reply With Quote
Reply

Tags
set, startupscript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
smb startup script crab_com Using Fedora 0 18th February 2009 04:47 AM
startup script? shafted Using Fedora 1 10th December 2007 12:50 AM
startup script cancerian80 Using Fedora 15 26th July 2007 06:05 AM
How to run a script on startup nemesys Using Fedora 0 19th November 2005 04:31 PM
startup script jyrppa Using Fedora 2 7th March 2005 02:00 PM


Current GMT-time: 05:30 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat