m0larmechanic Posted March 30, 2020 Share Posted March 30, 2020 I can see the file via krusader on the flash drive. What would I use to edit the file? Is there a notepad++ equivalent for unraid? Quote Link to comment
Squid Posted March 30, 2020 Share Posted March 30, 2020 You can use any particular file editor, including notepad on Windows (over the network). No need to worry about linux style line endings on the go file. But, personally, I'd just use nano from the terminal nano /boot/config/go CTRL-X will save and exit. 1 Quote Link to comment
m0larmechanic Posted March 30, 2020 Author Share Posted March 30, 2020 (edited) Thank you so much squid. You have been helping me a ton. I really appreciate it. I am trying to figure out nano. When I type that command in, it takes me to #!/bin/bash # Start the Management Utility What do I do from there? I don't mind using windows and notepad++, but how do I navigate my windows to the boot folder? Edited March 30, 2020 by m0larmechanic Quote Link to comment
Squid Posted March 30, 2020 Share Posted March 30, 2020 9 minutes ago, m0larmechanic said: What do I do from there? You add your command to that script 9 minutes ago, m0larmechanic said: I don't mind using windows and notepad++, but how do I navigate my windows to the boot folder? Go to the flash share Quote Link to comment
m0larmechanic Posted March 30, 2020 Author Share Posted March 30, 2020 Got it. Thank you Quote Link to comment
superloopy1 Posted January 14, 2021 Share Posted January 14, 2021 (edited) Hope it's ok to just piggyback this discussionas i'm trying to do the same ... my 'go' file currently looks like this - #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & Copies all files needed for authorised ssh connections mkdir /root/.ssh cp /boot/config/ssh/* root/.ssh/ cd /root/.ssh chmod 600 * #Copies all files needed for authorised ssh connections mkdir /root/.ssh cp /boot/config/ssh/* /root/.ssh/ cd /root/.ssh chmod 600 * Is this just the default file and if i need to add it to add SSH entries am i able to just overwrite the contents OR do i need to append to this file in its entirety? Basic question i know, but just want to make sure ... thx! Edited January 14, 2021 by superloopy1 Quote Link to comment
Squid Posted January 14, 2021 Share Posted January 14, 2021 1 hour ago, superloopy1 said: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & ^^^ This is the default file. Everything else you've already appended. Quote Link to comment
superloopy1 Posted January 14, 2021 Share Posted January 14, 2021 Did i do the appending?? I dont think i've actually touched that file before so i'm guessing that unraid does it at some point, maybe associated with the ssh side of things, certainly wasnt me. Quote Link to comment
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.
Note: Your post will require moderator approval before it will be visible.