On 12/04/2018 17:58, bin.w...@qkmtech.com wrote:
> On 12/04/2018 17:40, Chris Johns<chr...@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
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to