The UNIX and Linux Forums  

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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Suggestions Req ravi.sadani19 SUN Solaris 1 06-01-2007 03:29 AM
EMS Suggestions for AIX? janet AIX 0 04-13-2006 07:15 AM
Looking for Suggestions... scottsl UNIX for Advanced & Expert Users 1 12-17-2005 08:32 AM
Backup Suggestions. Cameron Filesystems, Disks and Memory 2 10-17-2002 03:33 PM
Suggestions on where to begin? andrew25008 UNIX for Dummies Questions & Answers 4 12-28-2001 01:05 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-30-2008
Registered User
 

Join Date: Apr 2008
Posts: 1
Stumble this Post!
Question Suggestions on input

Hi,

I have written a script which calls a process which ends up in a reboot of the system. At the end of the reboot it prompts for login & i need to provide the login details. am not able to figure out hw to do this.

Doubt: will echoing login details after calling the process work?
for ex:

main_script
{

./process1 (this ends up in a reboot & aska for login details)
#i need to give the login details here ( i mean i need to automate entering the login details

}
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-30-2008
era era is online now
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,607
Stumble this Post!
At the time the system reboots, no old process will be running any longer. You need to somehow hook into the startup scripts and tell them where to resume. Depending on what system this is, look for how to customize different runlevels. (Debian doesn't use runlevels much; they exist but I don't think a lot of admins are even aware that they exist.)
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0