View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#97
Originally Posted by malkavian View Post
Well, scripts look nice, but maybe "sudo" won't work for everybody. Mines must be used as root.
I was thinking this I have sudser installed. I suppose the better way is to remove the sudo part of the script and call the script with
Code:
run-standalone.sh /home/user/.myscript/swapswitch.sh | sudo gainroot
Edit--

I am certain I have seen some script that is
"if not root - sudo me"
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-07-14 at 15:36.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post: