diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-11-01 15:37:19 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-11-01 15:37:19 +0000 |
commit | ff59124a026dd748c9d9f8ac96bb13115364103b (patch) | |
tree | 2cb319e92ffdc152bee492803fdf85f5c6b4219d /bin/ksh/main.c | |
parent | 8f1914c001f53c8be60b08f8d0390ef8aa9a1317 (diff) |
Start the rework of the /etc/netstart shell script.
General changes:
- apply a similar 'style' as used in the installer scripts
- improve comments to be more to the point, remove where code is obvious
- document usage of functions if they have arguments
- rename variables where it improves readability
- replace really old-school shell code with more contemporary idioms
Other changes:
- No need to care about "autoboot" because netstart doesn't inherit the
positional parameters from /etc/rc anymore. /etc/rc executes netstart
instead of sourcing it since r1.439.
- Use simpler for-loop to process list of interfaces with ifstart.
OK halex@
Diffstat (limited to 'bin/ksh/main.c')
0 files changed, 0 insertions, 0 deletions