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

Andrew Cagney andrew.cagney at gmail.com
Mon Jun 27 00:34:22 UTC 2016


On 24 June 2016 at 21:22, Andrew Cagney <andrew.cagney at gmail.com> wrote:
>> teardown.sh sounds like final.sh
>
> 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

Andrew


More information about the Swan-dev mailing list