Results 1 to 5 of 5

Thread: Solaris autorun scripts...

  1. #1

    Solaris autorun scripts...

    I finally got bored in class and wrote two scripts to install distributedfolding on Solaris to run automatically.

    Next two features will be a way to view stats, and fix it so it doesnt kill... maybe a better INSTALL script...

    If just one more person could verify it works for now that be great

    http://bar.csh.rit.edu/scripts/

    Any comments/suggestions as always are apreciated.
    Last edited by beefdart; 03-19-2003 at 01:08 AM.

  2. #2
    Team Overclockers UK Mpemba Effect's Avatar
    Join Date
    Nov 2002
    Location
    Olympus Mons
    Posts
    15

    Thumbs up

    The way you'll stop the client cleanly is to delete the lock file. If the machine is shutting down you have to make sure it doesn't shutdown before the results have been uploaded (although this wouldn't be needed after the new version the client). Here I manage to do it http://www.free-dc.org/forum/showthr...?threadid=1819

  3. #3
    In your INSTALL script:
    # Worried about Solaris FS
    sync
    sync
    sync

    # End and test
    reboot

    Why would you need to reboot ?

    Why not just call the new startup script to start it.

    /etc/init.d/folding start

  4. #4
    > The way you'll stop the client cleanly is to delete the lock file.
    Ok, will do.

    devzero: The reason I did that was to test in our lab t make sre everythng was working right... We have not reinstalled (thats this weekend) so some of the machines had full /var and the like... I will change that on the public one.

    Thanks to you both
    http://bar.csh.rit.edu/

    DF download mirror, and when I get bored, your home to some neat DF stuff

  5. #5
    added freebsd for those of you who don't want to use the port

    http://bar.csh.rit.edu/scripts
    http://bar.csh.rit.edu/

    DF download mirror, and when I get bored, your home to some neat DF stuff

Posting Permissions

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