summaryrefslogtreecommitdiffstats
path: root/src/hooks
AgeCommit message (Collapse)AuthorFilesLines
2012-08-08End initscripts compatibilityJouke Witteveen1-14/+1
The recent ovrhaul of rc.conf in initscripts is a good point to enforce using the proper configuration files for netcfg as well.
2012-05-07Be more precise in the makefileJouke Witteveen1-3/+3
Previously the packagers username would be visible in the tarball and all files laying around in docs/ would be included.
2012-04-16Add compatibilityJouke Witteveen2-22/+76
- Initscripts users are now offered familiar output. - Configuration through /etc/rc.conf was not gracefully deprecated.
2012-04-11Rewrite output hook to not depend on initscriptsJouke Witteveen2-42/+84
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend. The revised layout is inspired by systemd.
2009-09-14tabs->spaces, vim modelinesJim Pryor1-1/+3
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-07i/o tweaksJim Pryor1-0/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Add contrib dir and logging hooksJim Pryor1-0/+1
* 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/+38