summaryrefslogtreecommitdiffstats
path: root/src/netcfg-menu
AgeCommit message (Collapse)AuthorFilesLines
2009-09-14More localized sourcingJim Pryor1-3/+1
When we're sourcing a profile just to obtain a single variable, use the form: INTERFACE=$(. "$DIR/$profile"; echo "$INTERFACE") This makes it clearer in the source what we're expecting to obtain from the profile, and what we're ignoring. Also allows us to eliminate some more inclusive subshells. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14tabs->spaces, vim modelinesJim Pryor1-6/+6
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14Tweaks while mergingJim Pryor1-1/+1
* added various quotes * made some vars local * tweaked some [[ ]]s, including one broken one in netcfg-menu * s/ra0/$INTERFACE/ in ethernet-iproute and wireless Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07quotes around $(...) where neededJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07Comments, more harmless bitsJim Pryor1-2/+2
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07Lots of little tweaks that should never hurt. Some of them may help inJames Rayner1-7/+7
corner cases; others probably make no difference. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07respect TMPDIRJim Pryor1-5/+5
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15quotes!Jim Pryor1-5/+5
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Integrate netcfg-menu and net-profilesJim Pryor1-6/+12
* net-profiles will only attempt to control the profiles it was told to; if you manually netcfg a different interface, it will be left alone. (This also helps keep netcfg from stomping on other daemons that might be hooking into it.) Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Improve listing/iterating over profilesJim Pryor1-4/+5
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Everyone use i/o functions from globals/hooksJim Pryor1-5/+2
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-10revert pryor patchJames Rayner1-30/+29
2009-08-07Patch from Jim PryorJames Rayner1-29/+30
2008-12-18libify and fix some scripting errorsJames Rayner1-1/+1
2008-01-13Sort netcfg-menu alphabeticallyJames Rayner1-1/+1
2007-12-29Small new features & tidyingJames Rayner1-0/+3
* Tidied: auto-wireless support * Added: Explicitly specify menu default via NETWORKS_MENU_DEFAULT * Added: Explicitly set menu timeout with NETWORKS_MENU_TIMEOUT * Added: Recording of last profile as $PROFILE_DIR/last * Tidied: /etc/rc.d/net-profiles
2007-11-10Initial ImportJames Rayner1-0/+57