View Single Post
Posts: 461 | Thanked: 358 times | Joined on May 2010 @ Bilbao (Basque Country [Spain])
#81
@sixwheeledbeast

This is not javascript, you can't simple equal a function to a variable.

Here you have your scripts corrected and improved I think. If you don't understand something of the code, just ask

Edited to upload a corrected scripts. swapswitch.sh had some stupid errors, I let spaces in assignations between "new" variable the equal and the value. swapswitchejectsd.sh some stupid too but long to explain.
Attached Files
File Type: gz swapswitch.sh.tar.gz (776 Bytes, 81 views)
File Type: gz swapswitchejectsd.sh.tar.gz (621 Bytes, 68 views)

Last edited by malkavian; 2012-07-12 at 23:57.
 

The Following 6 Users Say Thank You to malkavian For This Useful Post: