[Swan-dev] should final.sh shut down pluto?

Paul Wouters paul at nohats.ca
Mon Jun 27 07:50:41 UTC 2016


On Sun, 26 Jun 2016, Andrew Cagney wrote:

>> Obviously.  But notice how "i*", "r*", and "t*" are in alphabetic
>> order so the script run order can easily be determined using "LANG=C
>> ls -1 *.sh" (or the python equivalent); perhaps you have better names
>> that capture the same intent and preserve alpabetic ordering (which
>> can't be said of *init.sh *run.sh NN*.sh and final.sh).
>
> What about this, instead let the names specify that they can run on
> multiple machines.  For instance:
>
> 00-east-west.sh   -- run on east, then run on west
> 01-west.sh
> 99-west-east.sh  -- again, but this time on west, and then on east
>
> or:
>
> 00-nic.sh
> 01-east.sh
> 02-road.sh
> 10-road.sh
> 99-east-road.sh

I agree that "init" and "run" are artifical names and if we support
numbers, we might as well get rid of those identifiers.

Paul


More information about the Swan-dev mailing list