velkrosmaak Posted January 12, 2013 Share Posted January 12, 2013 Yeah, also checked that perms were the same as other scripts in the scripts folder. Oddly got this working by copying cleanup.sh and then replacing the contents with pinesetup.sh Worked like a charm. Can anyone explain this? Quote Link to comment Share on other sites More sharing options...
ShadowBlade72 Posted January 12, 2013 Share Posted January 12, 2013 Velkrosmaak, sounds like you've got some serious issues. Maybe you've modified something on your shell and it's causing errors. Try changing the shebang line at the beginning of the script to use bash instead. Maybe it'll solve your issue. Just a shot in the dark because I've never seen a shell throw errors on empty lines. #!/bin/sh to #!/bin/bash Quote Link to comment Share on other sites More sharing options...
velkrosmaak Posted January 13, 2013 Share Posted January 13, 2013 This was just after a reflash because I wanted a fresh start with it! How odd. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted January 25, 2013 Author Share Posted January 25, 2013 3.2 Manny changes harder to mess up your pineapple. sorry I have tweeked alot and can't remember all Quote Link to comment Share on other sites More sharing options...
NullNull Posted February 23, 2013 Share Posted February 23, 2013 in 2.7.7 the script can't change the ssid if it has a space in it :P Quote Link to comment Share on other sites More sharing options...
PineDominator Posted February 23, 2013 Author Share Posted February 23, 2013 in 2.7.7 the script can't change the ssid if it has a space in it :P Try this. Let me know if it works sed -i 's/option ssid.*/option ssid '"$newSSID"'/g' /etc/config/wireless Quote Link to comment Share on other sites More sharing options...
NullNull Posted February 24, 2013 Share Posted February 24, 2013 Try this. Let me know if it works sed -i 's/option ssid.*/option ssid '"$newSSID"'/g' /etc/config/wireless Nop, that wont work work. If i try "test test test" the result is "test". Quote Link to comment Share on other sites More sharing options...
PineDominator Posted February 24, 2013 Author Share Posted February 24, 2013 (edited) Nop, that wont work work. If i try "test test test" the result is "test". Hmm if it worked before I don't know what to say? Could try and remove the variable and quotes then type in the ssid within the command. Maybe something in your ssid is a sed command? Edited February 24, 2013 by petertfm Quote Link to comment Share on other sites More sharing options...
NullNull Posted February 24, 2013 Share Posted February 24, 2013 thank you for your response i will try to look into it. It is not so important after all :P Quote Link to comment Share on other sites More sharing options...
bogomil Posted April 5, 2013 Share Posted April 5, 2013 Hi, does this script work with Firmware 2.8.0? I copied it and saved it on my pineapple but somehow it wont run. When I run : root@Pineapple:~# run: chmod +x pineapple-mk4-setup-script.sh; ./pineapple-mk4-setup-script.shroot@Pineapple:~# Nothing happens.. And when I Try root@Pineapple:~# chmod +x pineapple-mk4-setup-script.sh; /pineapple-mk4-setup-script.sh I get:-ash: /pineapple-mk4-setup-script.sh: Permission denied What am I doing wrong ? Quote Link to comment Share on other sites More sharing options...
enderst Posted April 5, 2013 Share Posted April 5, 2013 the Permission denied is caused by the missing '.' with your command '/pineapple-mk4-setup-script.sh' should be './pineapple-mk4-setup-script.sh' Quote Link to comment Share on other sites More sharing options...
velkrosmaak Posted April 7, 2013 Share Posted April 7, 2013 Any reports of catastrophic failure using this on the 2.8.0 firmware? Quote Link to comment Share on other sites More sharing options...
buggz Posted August 18, 2013 Share Posted August 18, 2013 Hello, I just got my Mk IV. Does this script work with 3.0 firmware? Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted August 19, 2013 Share Posted August 19, 2013 Should do, try it :P Quote Link to comment Share on other sites More sharing options...
buggz Posted August 19, 2013 Share Posted August 19, 2013 I will try it tonight. I guess the ONLY backup for this device needed, is the ext. usb storage device? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.