March 28, 200818 yr I loaded go script in my favourite text editor (in Windows, but this editor is able to distinguish DOS and Linux files - from the LF/CR probably) and found out it is in "DOS" format. Am I doing something wrong? I expected this would be in UNIX format.
March 28, 200818 yr Because Tom expected people to possibly edit it, it is executed like this when invoked from /etc/rc.d/rc.local: # Invoke the 'go' script if [ -f /boot/config/go ]; then fromdos </boot/config/go >/var/tmp/go chmod +x /var/tmp/go /var/tmp/go fi By passing the "go" script through "fromdos" the extra dos cr/line feed sequences are removed. The script is actually copied to /var/tmp/go, made executable, and then executed from /var/tmp. Joe L.
Archived
This topic is now archived and is closed to further replies.