Trying to edit my GO file to run HDPARM on startup.


Recommended Posts

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 by m0larmechanic
Link to comment
  • 9 months later...

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 by superloopy1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.