Roy Marples
77f9015f0b
/lib/rcscripts -> /lib/rc
2007-09-19 13:53:40 +00:00
Roy Marples
a5585487aa
More --as-needed foo
2007-09-11 22:06:27 +00:00
Roy Marples
607f2b37b1
Work better with --as-needed
2007-09-11 21:45:26 +00:00
Roy Marples
bc6b031f2e
librc should link against libeinfo too
2007-09-10 21:26:13 +00:00
Roy Marples
ba4b5d5b7f
Makefile in src now supports pmake as used on the BSDs.
2007-09-06 13:00:03 +00:00
Roy Marples
6e5c8f8e5a
Add esyslog support
2007-08-16 16:53:20 +00:00
Roy Marples
0084bc41ef
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.
2007-08-09 14:33:20 +00:00
Roy Marples
3e5526fd76
Fix rc-update, #187487 and release rc2.
2007-08-04 15:05:12 +00:00
Roy Marples
534b4300e7
rc1
2007-08-02 11:09:09 +00:00
Roy Marples
c22ccdf577
Wups, don't force those CFLAGS
2007-07-31 16:59:02 +00:00
Roy Marples
a4e7e802ac
Force some stuff
2007-07-31 16:57:16 +00:00
Roy Marples
cb172722a9
Fix building on Linux
2007-07-31 16:35:24 +00:00
Roy Marples
b6b849bfd7
Link the right objects against rc
2007-07-31 16:16:18 +00:00
Roy Marples
c674026f9e
All our binaries are now mulicalls into rc, which makes our on disk size
...
a lot smaller.
2007-07-31 16:05:56 +00:00
Roy Marples
356c41f77c
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
2007-07-11 12:06:37 +00:00
Roy Marples
1ac8d86ebe
Stop using getimeofday for timeouts incase the clock changes.
2007-05-16 11:05:42 +00:00
Roy Marples
0942916b72
Allow time for pidfiles to be created, #178274 .
...
Use int instead of char for getopt, #178084 thanks to drizztbsd.
2007-05-14 12:24:18 +00:00
Roy Marples
c52f216450
Added the rc-abort command, #175106 thanks to Daniel Drake.
2007-04-20 13:12:21 +00:00
Roy Marples
f657d87b99
Rationalise our colour usage a little.
2007-04-17 09:32:18 +00:00
Roy Marples
36e16cef47
Ignore and clean .depend
2007-04-13 15:23:03 +00:00
Mike Frysinger
cb20c5da98
make sure .depend gets regenerated automatically
2007-04-13 13:21:27 +00:00
Mike Frysinger
2ea37cdae3
add .depend / .PHONY support
2007-04-13 13:20:26 +00:00
Mike Frysinger
2348f115c0
use CPPFLAGS rather than CFLAGS where appropriate and make LDFLAGS/-rpath dynamic by only enabling when in .svn repo
2007-04-13 13:06:53 +00:00
Mike Frysinger
5ee5f0c661
revert previous commit
2007-04-13 12:59:12 +00:00
Mike Frysinger
e3440c8ba3
dont create .so links as they arent needed for runtime
2007-04-13 12:55:43 +00:00
Mike Frysinger
51f43d5a53
use ln -sf rather than ln -s incase target exists
2007-04-13 12:39:14 +00:00
Mike Frysinger
21902ef882
add a symlink for update-rc -> rc-update
2007-04-13 12:38:00 +00:00
Roy Marples
f754c661f5
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.
2007-04-11 07:15:02 +00:00
Roy Marples
0c98067d57
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.
2007-04-10 10:33:44 +00:00
Roy Marples
3c7c1736b7
Use names instead of numbers for reporting signals and trap signals in rc
2007-04-09 16:53:21 +00:00
Roy Marples
049948eb09
Only use some gcc flags if gcc actually supports them.
2007-04-08 17:39:59 +00:00
Roy Marples
6e2ef07dd3
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.
2007-04-08 16:03:48 +00:00
Roy Marples
a66136655e
Move env-update back to /sbin as everything non baselayout expects it in $PATH, including our documentation
2007-04-07 10:38:40 +00:00
Roy Marples
657be65340
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
2007-04-06 01:04:07 +00:00
Roy Marples
6fb700e52c
Superfluous CFLAGS
2007-04-05 11:42:21 +00:00
Roy Marples
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.
As such, we have dropped the requirement of using bash as the init script
shell. We now use /bin/sh and have strived to make the scripts as portable
as possible. Shells that work are bash and dash. busybox works provided
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
should disable find too.
zsh and ksh do not work at this time.
Networking support is currently being re-vamped also as it was heavily bash
array based. As such, a new config format is available like so
config_eth0="1.2.3.4/24 5.6.7.8/16"
or like so
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"
We will still support the old bash array format provided that /bin/sh IS
a link it bash.
ChangeLog for baselayout-1 can be found in our SVN repo.
2007-04-05 11:18:42 +00:00