rtems shell script

Chris Johns chrisj at rtems.org
Thu Apr 12 08:05:30 UTC 2018


On 12/04/2018 17:58, bin.wang at qkmtech.com wrote:
> On 12/04/2018 17:40, Chris Johns<chrisj at rtems.org> wrote
> 
>>It can. You need to add "#! joel" as the first line and you need to set an
>>appropriate the execute bit, that is user, group or other.
> 
> 
> thank you very much 
> 
> as you said i add "#! joel"as the first line ,and  i change  the mode to 777,
> but i still can not run the script,

This is copied from a working script I have:

------
#! joel
# Unlimited shell lines
setenv SHELL_LINES 0
# Format and mount the RAM disk
mkrfs /dev/rda
mkdir /ram
mount -t rfs /dev/rda /ram
-----

Chris



More information about the users mailing list