3e3b54ceedeat leading newline as the common clock has a proper trailing newline
Mike Frysinger
2007-09-24 10:13:20 +0000
495690ea5ePlug some leaks
Roy Marples
2007-09-24 09:07:00 +0000
7a2507c52fFix pppd metric, #193574 thanks to Martin Väth.
Roy Marples
2007-09-24 06:57:40 +0000
e0d06f556eAdd extraopts to our usage
Roy Marples
2007-09-21 11:52:37 +0000
faa555efe2No need for this convulted sed now our prefixed output is on a direct terminal again :)
Roy Marples
2007-09-21 08:54:36 +0000
45bd125dccUse a pty for prefixed output instead of pipes for stdout/stderr. This is so that programs can get information about the controlling terminal. This change was triggered by bug #188506 where it's possible that stdin, stdout and stderr didn't point to a terminal but ended up on one via our pipes. Using a pty means that stdout and stderr always point to a terminal, but we lose the ability to tell them apart. If there is not a pty available then we use un-prefixed output as normal. This change has also introduced the need for a signal pipe so that SIGCHLD can exit the loop cleanly.
Roy Marples
2007-09-21 08:49:43 +0000
ca58877ed0Harden startup and shutdown
Roy Marples
2007-09-20 22:45:16 +0000
963229dce8whitespace
Roy Marples
2007-09-20 11:53:10 +0000
ccced38428libeinfo now works out the number of columns from stdout rather than stdin, #188506.
Roy Marples
2007-09-20 11:47:04 +0000
c1cd1da595Warn if file/directory mismatch
Roy Marples
2007-09-19 17:18:43 +0000
50ea72ef4bAllow checkown to create files too.
Roy Marples
2007-09-19 17:08:25 +0000
40a1beabe0Move the error messages to the option parsing
Roy Marples
2007-09-19 16:54:23 +0000
b6aa1c857cAdded the checkown applet based on the work by Renato Caldas, #192682 checkdir ensures that the specified files (or directories) are owned by the current user/group or as specified on the command line. You can optionally check permissions too.
Roy Marples
2007-09-19 16:27:37 +0000
a74dd430d5Punt rc_xcalloc as nothing uses it
Roy Marples
2007-09-19 13:55:01 +0000
77f9015f0b/lib/rcscripts -> /lib/rc
Roy Marples
2007-09-19 13:53:40 +0000
987c72f12f--opts to --options
Roy Marples
2007-09-19 11:53:35 +0000
5248fb52faplugin hook function is now rc_plugin_hook instead of a name based on the name of the plugin.
Roy Marples
2007-09-19 09:00:43 +0000
726e754fffvar no longer used
Roy Marples
2007-09-18 17:37:35 +0000
1996a1e032Hide errors caused by old splash plugin for the time being
Roy Marples
2007-09-18 16:57:39 +0000
5ba4ad52e2Only mount /sys if it's not mounted, #192436.
Roy Marples
2007-09-18 15:45:15 +0000
81c009e47dDon't be an ass - don't free the 2nd list. Instead just empty it.
Roy Marples
2007-09-18 15:43:19 +0000
9587d71df3Clarify strlist_join behaviour
Roy Marples
2007-09-18 14:18:22 +0000
90c2291cacWhitespace
Roy Marples
2007-09-18 14:13:16 +0000
75b5fdff29Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
Roy Marples
2007-09-18 14:08:56 +0000
c8b03c96b7API change! rc_config_env is renamed to rc_make_env and takes no argument.
Roy Marples
2007-09-18 12:20:55 +0000
807e4afbedDon't space separate the options
Roy Marples
2007-09-18 12:08:04 +0000
936dc94351API change! rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
Roy Marples
2007-09-18 12:04:51 +0000
f1bba12892API change! rc_strlist_add and friends now take char *** instead of char ** and return a pointer to the item added instead of the new list head. This is so we can easily tell if the item was successfully added or not instead of iterating through the list looking for it.
Roy Marples
2007-09-18 11:36:55 +0000
99eabdc3baRe-work mountinfo so that we have a lot less OS specific code
Roy Marples
2007-09-18 09:20:30 +0000
47f21d06a0Fix fallback configurations
Roy Marples
2007-09-17 21:38:58 +0000
fac4de2b46Portability
Roy Marples
2007-09-17 20:59:55 +0000
cc7df1d1f8Document the preferance of wpa_supplicant, #192828.
Roy Marples
2007-09-17 17:44:10 +0000
bcb85a016dBSD will need a fixed gcc for --as-needed
Roy Marples
2007-09-12 14:32:18 +0000
a5585487aaMore --as-needed foo
Roy Marples
2007-09-11 22:06:27 +0000
607f2b37b1Work better with --as-needed
Roy Marples
2007-09-11 21:45:26 +0000
bc6b031f2elibrc should link against libeinfo too
Roy Marples
2007-09-10 21:26:13 +0000
2aac9fa464revert EARLY_MOUNTS since everything in the boot runlevel depends on localmount already and anything that runs before it does not rely on things like /tmp or /var/run (and because i confused localmount with checkroot)
Mike Frysinger
2007-09-09 16:49:40 +0000
5420f22a14add BSD SPECIFIC OPTIONS marking
Mike Frysinger
2007-09-09 16:12:53 +0000
869da3c685only do the X lock stuff in /tmp so people can overload WIPE_TMP_DIRS for a general "wipe this directory" option. also force +t on /tmp and /var/tmp.
Mike Frysinger
2007-09-09 16:08:32 +0000
230421384aAllow people to specify a list of early mount points which will be mounted at the end of localmount so they can do tmpfs on things like /tmp #181527.
Mike Frysinger
2007-09-09 16:04:40 +0000
06ae2e5593Allow people to specify a list of temp dirs to clean in bootmisc #191807.
Mike Frysinger
2007-09-09 15:52:05 +0000
ba4b5d5b7fMakefile in src now supports pmake as used on the BSDs.
Roy Marples
2007-09-06 13:00:03 +0000
d095d4d8f5strdup -> rc_xstrdup
Roy Marples
2007-09-06 08:59:35 +0000
eb5b1c4c41start-stop-daemon now works with userids correctly when a pidfile is not specified, #191206.
Roy Marples
2007-09-04 09:32:36 +0000
52f7df0d0cAdd --quiet to mountinfo
Roy Marples
2007-09-03 14:02:15 +0000
a166958537Always attempt to mount /dev/pts when devpts is available as it may appear in some 2.4 setups.
Mike Frysinger
2007-09-03 03:10:42 +0000
2a1e0c1d8dRelease rc4
Roy Marples
2007-09-02 13:12:24 +0000
09374583acRC_TTY_NUMBER now defaults to 12, #190996 thanks to Pacho Ramos.
Roy Marples
2007-09-02 13:09:34 +0000
2d39857170Don't use local here
Roy Marples
2007-09-02 12:55:18 +0000
c04af92cb4We may not always add to the array, so re-count it afterwards
Roy Marples
2007-09-01 00:51:41 +0000
a9ebc7a2afOnly generate dependencies for Gentoo scripts, #190547.
Roy Marples
2007-08-31 16:21:19 +0000
6cf2085488Don't add multiple entries to ld.so.conf
Roy Marples
2007-08-31 11:06:49 +0000
d3bd76486aMore path fixes thanks to Thomas Pani
Roy Marples
2007-08-28 16:28:33 +0000
f7583144f3Use correct defines
Roy Marples
2007-08-28 13:10:07 +0000
144d9653e1Undocument pause action, fix --nodeps and --ifstarted, #190045.
Roy Marples
2007-08-28 13:06:44 +0000
849b983c3f#define shutdown
Roy Marples
2007-08-28 09:17:04 +0000
d6acd7d83eMove more stuff to #defines
Roy Marples
2007-08-28 09:13:46 +0000
36118e7dbdFix ksoftlevel handling, #190420.
Roy Marples
2007-08-28 08:50:04 +0000
2845610fa6Add /etc/gentoo-release to CONFIG_PROTECT_MASK.
Mike Frysinger
2007-08-26 15:57:00 +0000
0d031e5481Punt PAGER and EDITOR. People need to set this themselves now.
Mike Frysinger
2007-08-25 18:47:45 +0000
4a23e42be8Make sure we list all config files in rc help output.
Mike Frysinger
2007-08-25 18:17:05 +0000
9cf4628aaaSetup wtmp for BSD too
Roy Marples
2007-08-23 10:25:09 +0000
1ef8a7f041Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter
Roy Marples
2007-08-22 14:10:46 +0000
25d46c0e96Fix pppd getting the interface metric.
Roy Marples
2007-08-21 08:21:40 +0000
dc5e26e056rc3
Roy Marples
2007-08-20 13:32:31 +0000
4a8feebc1bAs discussed on the -dev ml, RC_DEPEND_STRICT now defaults to yes.
Roy Marples
2007-08-20 09:10:24 +0000
9ea8afb200No point in having to lots of get the user code.
Roy Marples
2007-08-20 09:08:06 +0000
0963e06766Mark the right service as failed and only output a new line if we outputted anything at all for /etc/init.d/foo needsme
Roy Marples
2007-08-17 13:23:43 +0000
7aaa601aadneedsme should always be valid too
Roy Marples
2007-08-17 13:23:02 +0000
b10bd4b9d7Stop un-needed services when changing runlevels, #189050.
Roy Marples
2007-08-17 12:14:04 +0000
adbe039385When shutting down, stop the service even if dependants failed.
Roy Marples
2007-08-17 11:31:36 +0000
bc90e41b76Intergrate our standard options
Roy Marples
2007-08-17 11:01:18 +0000
d1a1e3a3c9Allow --user and --group to also mean --chuid and --chgrp
Roy Marples
2007-08-17 10:54:04 +0000
e0a29e41a2Allow 'del' to work as a command
Roy Marples
2007-08-17 09:46:01 +0000
eba9b8ac14Fully move esyslog into rc
Roy Marples
2007-08-16 17:09:57 +0000
6e5c8f8e5aAdd esyslog support
Roy Marples
2007-08-16 16:53:20 +0000
b8b1352b38whitespace
Roy Marples
2007-08-15 17:47:25 +0000
2ad4a5ba4aAdd config to rc-help.sh
Roy Marples
2007-08-15 16:58:51 +0000
3950eb6eba`config /etc/fstab' can now be used in depend() functions to show that the deptree should be regenerated if /etc/fstab has changed.
Roy Marples
2007-08-15 14:49:41 +0000
7d68200f24Add bzr port 4155 to /etc/services, #188970 thanks to Andrew Cowie.
Roy Marples
2007-08-15 11:20:08 +0000
a85a66348bNeed to specify table for busybox.
Roy Marples
2007-08-10 10:34:50 +0000
0084bc41efDon'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.
Roy Marples
2007-08-09 14:33:20 +0000
9072ce748fgetoptify and simply the code even more.
Roy Marples
2007-08-09 09:53:47 +0000
874bee1338whitespace
Roy Marples
2007-08-08 22:46:27 +0000
f8c1ee736cAdd help to rc-update #188170 and tidy up the code a fair bit.
Roy Marples
2007-08-08 22:35:32 +0000
06902f5ff3Use the right dir from fstab
Roy Marples
2007-08-08 12:39:05 +0000
94c6ff7bb7Plug a leek for non selinux linux systems
Roy Marples
2007-08-08 03:07:42 +0000
30853d7473If given a pidfile, just match on that for seeing if we have crashed or not, #186159.
Roy Marples
2007-08-08 03:07:09 +0000
ce12aa56d4Return the next available ifindex for BSD too
Roy Marples
2007-08-07 21:04:27 +0000
2fdff9d8d6Always give ppp a defaultmetric
Roy Marples
2007-08-07 21:01:16 +0000
3295a9c0e0Add a defaultmetric to ppp if we have metric_$IFACE
Roy Marples
2007-08-07 20:51:08 +0000
01ea7e3186More pppd fixes
Roy Marples
2007-08-07 20:23:38 +0000
d50a46a7a5Fix chat connects for pppd
Roy Marples
2007-08-07 12:56:07 +0000
8d0f3f2b16Try and hide the terminal escape codes when they fail.
Roy Marples
2007-08-07 07:25:24 +0000
1e4357ad01Boot properly when we cannot set an early font, #187628.
Roy Marples
2007-08-04 20:35:05 +0000
3e5526fd76Fix rc-update, #187487 and release rc2.
Roy Marples
2007-08-04 15:05:12 +0000
9169c51d39Fix adding multiple IP addresses, #187526.
Roy Marples
2007-08-03 13:54:46 +0000
65a9e4618bFix static IPv6 routes, #187514.
Roy Marples
2007-08-03 13:53:20 +0000
a3aff5d83cWups, these definitions need to be in rc.h really
Roy Marples
2007-08-03 10:14:38 +0000
534b4300e7rc1
Roy Marples
2007-08-02 11:09:09 +0000