Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I've gotten help writing a script to automate my install. I have a few questions on how to make it better, my first question is if there is ...
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    Polishing Install Script

    Hi All,

    I've gotten help writing a script to automate my install. I have a few questions on how to make it better, my first question is if there is a way to set up a script that reboots and after logging back in continues with the script (or calls on another one even). The reason I ask is because the first step I do when I install Ubuntu (which I do way too often) is install the b43 broadcom driver. This requires a restart after and then I can do all my upgrades, installs, etc....

    Thanks all
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Here is one idea.
    Turn your script in to a deamon/service. let it save a its state in a file before rebooting.
    let your deamon start on boot. read the file. and continue with the stage saved in file.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    sounds great, how do I do it? haha I'm a self learned programmer so I don't know a lot. Is it relatively easy to do?
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...