On 12/04/2018 17:58, [email protected] wrote:
> On 12/04/2018 17:40, Chris Johns<[email protected]> 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
_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to