We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Working through the console tutorial but when I try and run the example shell script (below for ref) I get the error:
: not found.sh: line 2: 'root/morse.sh: .: line 4: can't open '/lib/ramips.sh
I'm not sure what the problem is, any ideas?
Cheers Tom
#!/bin/sh
. /lib/ramips.sh board=$(ramips_board_name)
_MorseMain () {
echo morse > /sys/class/leds/$board\:amber\:system/trigger echo 120 > /sys/class/leds/$board\:amber\:system/delay echo $* > /sys/class/leds/$board\:amber\:system/message
}
_MorseMain $*
exit
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Working through the console tutorial but when I try and run the example shell script (below for ref) I get the error:
: not found.sh: line 2:
'root/morse.sh: .: line 4: can't open '/lib/ramips.sh
I'm not sure what the problem is, any ideas?
Cheers
Tom
#!/bin/sh
find the name of the board, to be used in the name of the LED
. /lib/ramips.sh
board=$(ramips_board_name)
define the function that will set the LED to blink the arguments in morse code
_MorseMain () {
}
Main Program
run the function and pass in all of the arguments
_MorseMain $*
exit
The text was updated successfully, but these errors were encountered: