2348f115c0
use CPPFLAGS rather than CFLAGS where appropriate and make LDFLAGS/-rpath dynamic by only enabling when in .svn repo
Mike Frysinger2007-04-13 13:06:53 +00:00
2728cef0e1
Hug getopt_long even though it's not POSIX. start-stop-daemon has always required this and all our supported platforms have it.
Roy Marples2007-04-12 10:08:42 +00:00
64c4d3875d
Move carrier detection back into net.sh. Reserve a new hook numbers
Roy Marples2007-04-11 10:40:53 +00:00
f754c661f5
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.
Roy Marples2007-04-11 07:15:02 +00:00
ffc96d8d89
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.
Roy Marples2007-04-10 16:11:20 +00:00
662e308d86
Apply sysctl if we don't have an init script
Roy Marples2007-04-10 10:50:07 +00:00
0c98067d57
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.
Roy Marples2007-04-10 10:33:44 +00:00
5076114aa7
routes_SSID now works, as does iwconfig.sh for BSD
Roy Marples2007-04-09 18:56:26 +00:00
89ac4eee26
rc does not need SIGCHLD handler. Also, always return 0 in /etc/rc as non zero for default may freeze system.
Roy Marples2007-04-09 17:11:18 +00:00
3c7c1736b7
Use names instead of numbers for reporting signals and trap signals in rc
Roy Marples2007-04-09 16:53:21 +00:00
3a20ea36cc
Ensure fbsd sets up $RUNLEVEL correctly when init changes
Roy Marples2007-04-09 09:59:09 +00:00
049948eb09
Only use some gcc flags if gcc actually supports them.
Roy Marples2007-04-08 17:39:59 +00:00
6e2ef07dd3
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.
Roy Marples2007-04-08 16:03:48 +00:00
a66136655e
Move env-update back to /sbin as everything non baselayout expects it in $PATH, including our documentation
Roy Marples2007-04-07 10:38:40 +00:00
0762d88d84
Punt the rc-depend man page as it's been moved out of /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin
Roy Marples2007-04-06 01:07:10 +00:00
657be65340
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
Roy Marples2007-04-06 01:04:07 +00:00
308042c87b
We now compile on OpenBSD (no idea if it works or not yet)
Roy Marples2007-04-05 15:01:09 +00:00
5af58b4514
Rewrite the core parts in C. We now provide librc so other programs can query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions.
Roy Marples2007-04-05 11:18:42 +00:00