Glad to hear that :-)
Seems like you know just enough to be dangerous 😜
You can copy and modify your Button1 code, just use "shutdown -r now" instead.
@mitu sure bro, again thank you very much
@mitu I will be trying the script thanks a lot
@mahoneyt944 Never thought about this thanks bro
u guys r awesome, once it works I will tell u guys thx
How do I use the internal command prompts? Like how do I log in so I can enter in all the code? I know that if you press f4 that it brings up the prompts, but how do I log in and shit?
Go to this website: http://www.makeuseof.com/tag/add-reset-switch-raspberry-pi/
And look for this section: "Give Your Raspberry Pi A PC-Style Soft Reset Switch" It's about 1/3 of the way down the page. (the entire page has relavent info though)
The section I'm talking about has this video:
As long as you have a rev2 or newer Pi, you can add a simple reset switch that'll work how you want.
Minor soldering (adding a 2-pin header) involved. You can just solder the switch directly to the header if you need to.
Note, I've never actually done this myself.