The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
startup script in UNIX param_it UNIX for Advanced & Expert Users 1 01-18-2008 08:43 AM
Run a script during reboot/startup new2ss Linux 1 03-30-2007 10:23 AM
ksh in rc3.d startup script JayNick Shell Programming and Scripting 1 05-19-2006 11:28 AM
Startup script DSL c19h28O2 Shell Programming and Scripting 0 04-11-2006 04:54 AM
the Startup script file???? swordfish UNIX for Advanced & Expert Users 7 03-21-2005 07:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-29-2006
texaspanama texaspanama is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 2
Startup script

New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added after rebooting and I can't use this file (another problem I need to solve, later).
  #2 (permalink)  
Old 06-29-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If S90 is a start up script you built, try moving it to /etc/rc3.d so it gets started later in the boot process - that may solve both issues.
  #3 (permalink)  
Old 06-29-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
On Linux you can try /etc/rc.local (have no any idea whether this file exists under Unix)
Chech also /etc/rc > This file is responsible for starting/stopping services when the runlevel changes
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0