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 > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
start process at assidned date and time gd2003 UNIX for Dummies Questions & Answers 6 01-21-2008 11:15 AM
how to start a process and make it sleep for 5 mins and then kill that process shrao Shell Programming and Scripting 6 03-27-2007 12:54 PM
start time of a terminated process k_chaaya UNIX for Advanced & Expert Users 2 09-04-2006 12:57 AM
to get process start date and time naeem ahmad UNIX for Advanced & Expert Users 2 02-27-2006 05:09 AM
get process start time naeem ahmad High Level Programming 1 02-06-2006 08:40 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 12-08-2002
vtran4270 vtran4270 is offline
Registered User
  
 

Join Date: Aug 2002
Location: California, USA
Posts: 27
start a process at boot up time

Hi,
I have a program that check the IP address and automatic update it to the DNS server. I would like to run this program when the computer bootup after pppd get a connection. How do I add it to the init file. Does any one have any information of how to do it.
I run a Linux Mandrake as a web server.
Thanks,
  #2 (permalink)  
Old 12-08-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
/etc/ppp/ip-up

The scripts in /etc/ppp/ip-up can be modified to perform work after an ip address is acquired. From the pppd manpage:

Code:
/etc/ppp/ip-up

A program or script which is executed when the link is available for sending and receiving IP packets  (that  is, IPCP has come up).  

It is executed with the parameters

interface-name tty-device speed local-IP-address remote-IP-address ipparam
Closed Thread

Bookmarks

Tags
linux mandrake

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 05:11 AM.


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