View Full Version : Solaris autorun scripts...
beefdart
03-19-2003, 12:58 AM
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.
Mpemba Effect
03-19-2003, 06:14 AM
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/showthread.php?threadid=1819
devzero
03-19-2003, 10:31 AM
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
beefdart
03-19-2003, 02:02 PM
> 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
beefdart
03-19-2003, 03:45 PM
added freebsd for those of you who don't want to use the port
http://bar.csh.rit.edu/scripts
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.