Has anyone tried this on edgy? If so did it work? Thanks
Has anyone tried this on edgy? If so did it work? Thanks
I'm always getting back here. As the winter approaches, I start using folding@home again, since during summer I can't leave the computers on all day. Once again, I just have to follow the howto to have things set up in a instant.
Thanks.
Last edited by henriquemaia; October 4th, 2006 at 05:48 PM.
Does the script break on Edgy or is it only me? Since I dist-upgraded to Edgy I've been getting errors like these:
Code:$ sudo /etc/init.d/foldingathome start /etc/init.d/foldingathome: 23: [[: not found /etc/init.d/foldingathome: 33: [[: not found /etc/init.d/foldingathome: 147: [[: not found /etc/init.d/foldingathome: 147: arith: syntax error: "++num"
Help yourself: Search the community docs or try other resources.
Let science use your computer when you aren't: Folding@Home.Originally Posted by Henry Spencer
Yep that fixed it. Thanks alot.
PS: why does it work in Dapper but not Edgy? Aren't sh and bash almost the same in syntax?
https://wiki.ubuntu.com/EdgyBetaAnnouncement
https://wiki.ubuntu.com/DashAsBinSh* New init system.
That's probably it. I apparently didn't write the init script to be executable by a Bourne shell; I have some Bash assumptions.Change the /bin/sh symlink on Ubuntu systems to point to the dash shell instead of the current bash shell.
Help yourself: Search the community docs or try other resources.
Let science use your computer when you aren't: Folding@Home.Originally Posted by Henry Spencer
I've updated the init script. I think it's not using any Bash extensions now. Also improved the "send" option. So give it a try and post back if there are any troubles. After I install a Edgy chroot and test it there, I'll update the version in the wiki.
Help yourself: Search the community docs or try other resources.
Let science use your computer when you aren't: Folding@Home.Originally Posted by Henry Spencer
Bash has a lot of extensions to sh. Any sh script will work in bash, but not necessarily the other way. I had assumed that by calling bash as /bin/sh, it would act like sh, but apparently, I was wrong.
I would appreciate Edgy users testing this (attachment in previous post). If a bunch of you test it, and PM me to say if it works, I'll update the wiki version immediately.
Last edited by jpkotta; October 5th, 2006 at 02:40 AM.
Help yourself: Search the community docs or try other resources.
Let science use your computer when you aren't: Folding@Home.Originally Posted by Henry Spencer
The new version still requires bash... If it's ran as it is it will output "fail" for everything (start, stop, restart etc.). Once changed to bash it runs fine.
Thanks for the feedback. I'll have to wait to do a real fix until next week then.
Help yourself: Search the community docs or try other resources.
Let science use your computer when you aren't: Folding@Home.Originally Posted by Henry Spencer
Bookmarks