January 7, 201610 yr I used nano to add 5 lines to the end of my go file, but they never seem to get executed. Here is the go file: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & mkdir -p ~/.ssh cp /boot/scripts/ssh/authorized_keys ~/.ssh/ cp /boot/scripts/ssh/known_hosts ~/.ssh/ chmod 700 ~/.ssh chmod 600 ~/.ssh/* If I put the 5 lines in a separate script, I can execute it with no problem so I think the syntax is ok. What am I missing?
January 7, 201610 yr What happens if you try full paths without the tilde... Just wondering if the go file is executing too soon for the tilde to be "usable"
January 7, 201610 yr Author @CHBMB That fixed it. Thanks for taking the time to steer me in the right direction.
January 7, 201610 yr @CHBMB That fixed it. Thanks for taking the time to steer me in the right direction. No problem, glad it worked...
Archived
This topic is now archived and is closed to further replies.