Main > Raspberry Pi & Dev Board
Mausberry shutdown switch issue
Jefferson:
Linux/Raspbian and command line work are not my strong suit so please bear with me...
'm having trouble installing the script for my mausberry shutdown switch (direct plug micro usb)
Following their instructions (http://mausberry-circuits.myshopify.com/pages/setup) with my keyboard (not ssh) I managed to download setup.sh, although I had to omit the word sudo.
Now, when I enter "sudo bash setup.sh" I get:
"bash: sudo: command not found"
So I tried losing sudo again, with "bash setup.sh" I get:
setup.sh: line 22: sudo: command not found
setup.sh: line 23: sudo: command not found
I'm entering this in LXterminal on a dietpi (v58), Raspberry Pi 2 Model B... any help would be appreciated. I don't know if I'm at 'root' or not when I'm doing this. Once I clear this hurdle I can retire the mouse and keyboard from this project :)
Slippyblade:
You are using a different distro than the instructions are meant for. Not sure if the script will even run since you don't have the expected shell.
Jefferson:
I was hoping since DietPi was basically a tiny Raspbian it'd fly. But if that's the problem... I'm bummed.
Any other safe shutdown solutions? Preferably using the same GPIO jumper arrangement I've got goin?
The Pi is awesomely small and affordable, but there have been a lot of workarounds.
Slippyblade:
I'm sure there's a way to make it work. DietPi makes some assumptions in order to minimize distro size. Assuming the basic user is root is one - that's why sudo doesn't work. You are already root.
obcd:
Maybe you can try to edit the setup.sh script. (nano setup.sh) might work. Remove the sudo's from the script and save it. (Maybe keep an original copy as well) It depends how long the script is.
Navigation
[0] Message Index
[#] Next page
Go to full version