summaryrefslogtreecommitdiffstats
path: root/src/globals
AgeCommit message (Collapse)AuthorFilesLines
2012-07-03Cleanup src/networkJouke Witteveen1-0/+13
quirk() is not used anymore, inarray() doesn't belong in src/network.
2012-07-03Lower latency in timeout_waitHenrik Hallberg1-1/+2
2012-06-21Introduce polling timeout logicJouke Witteveen1-0/+14
This should fix FS#30361 along the way.
2012-06-21Minor improvementsJouke Witteveen1-3/+2
After this change, a profile started by a previous version of netcfg can potentially not be brought down anymore. This only concerns the updating process. Running `netcfg clean` should make everything OK again (potentially leaving your network down, but you can now bring up profiles again).
2012-04-11Rewrite output hook to not depend on initscriptsJouke Witteveen1-5/+1
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend. The revised layout is inspired by systemd.
2012-04-10Output fixesJouke Witteveen1-21/+16
Add spaces where necessary.
2012-03-27Uniformize SUBR_DIR quotingJouke Witteveen1-2/+2
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
2012-03-21Revised bash completionJouke Witteveen1-6/+6
Bash completion does not deal properly with profile filenames that contain whitespace. There are some minor tweaks in this commit as well, but those should be harmless.
2011-06-11Change STATE_DIR from /var/run to /runRémy Oudompheng1-1/+1
2009-09-14load hooks only from /usr/lib/network/hooksJim Pryor1-10/+4
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14tabs->spaces, vim modelinesJim Pryor1-17/+17
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14Tweaks while mergingJim Pryor1-0/+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-07Added initial rfkill supportJames Rayner1-3/+2
Added some extra debug points Directed debug out to stderr, as debug messages were being used as output from find_essid.
2009-09-07at_interface_{up,down} => IFACE_{UP,DOWN}Jim Pryor1-9/+0
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07Read /etc/network.d/interfaces/ when loading profileJames Rayner1-0/+1
* profile is sourced again after doing so, so profile-level assignments can override * folded validate_profile into load_profile: the extra source command in load_profile was redundant, so all that load_profile effectively did was just call validate_profile
2009-09-07typo in a commentJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07move checkyesno to globals, make NETCFG_DEBUG a yes/no setting (default=no)Jim Pryor1-1/+33
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07i/o tweaksJim Pryor1-5/+8
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Everyone use i/o functions from globals/hooksJim Pryor1-5/+0
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Add contrib dir and logging hooksJim Pryor1-17/+26
* Add contrib/logging.hook * Update Makefile and manpage * Propose that hooks go into /etc, not /usr---latter should be shareable and possibly read-only, not good spot for user-configurable files like these. * Since we have hooks/arch as part of the package, this commit attempts to load hooks from both /usr/lib/network/hooks and /etc/network.d/hooks. (Executable hooks in /etc take precedence over hooks with same name from /usr.) * Need to load /etc/rc.conf before /etc/rc.d/functions (e.g. for USECOLORS) Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-10add missing globals and 'arch' hookJames Rayner1-0/+93
2009-08-10revert pryor patchJames Rayner1-118/+0
2009-08-07Patch from Jim PryorJames Rayner1-0/+118