LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2010, 04:42 AM   #1
csegau
LQ Newbie
 
Registered: Oct 2009
Posts: 27

Rep: Reputation: 0
reboot system and continue from where it left


hi,

i am working on qf-test tool(Testing tool).
which allows me to write shell scripts.
i want to know is it possible to write script to reboot the system(from one of my test case) and
launch my qf-test tool and continue (from next test case) from where it left.

if yes, please help me.

Thanks in advance
 
Old 03-22-2010, 06:01 AM   #2
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
You can write a temporary file, where you can keep track of your current state. The shell script will proceed after reading this file.
 
0 members found this post helpful.
Old 03-22-2010, 08:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,391

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
... and if you want to automate that, add the script to /etc/rc.local or whatever the equiv on your distro is.
 
0 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lenny stops when booting up system. Ctrl-D to continue. glore2002 Debian 4 10-25-2009 07:19 AM
[linux auto reboot] content"reboot system boot" hunter_cao7 Linux - Server 1 11-12-2007 06:09 PM
wget-continue on another system ? kdrlx Linux - Software 3 04-19-2007 08:39 PM
Continue DHCP lease after reboot pymehta Linux - Networking 4 11-21-2005 04:16 PM
Hoary : Installing base system halts and cannot continue icekin Ubuntu 8 11-09-2005 11:08 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07: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