Commit Graph

  • cc3c5ad111 fstabinto now behaves more like mountinfo with respect to --quiet Roy Marples 2007-09-25 22:45:57 +00:00
  • da471b7deb Rework fstabinfo so it makes more sense Roy Marples 2007-09-25 22:21:28 +00:00
  • 15b703c6e4 No need for that sed anymore Roy Marples 2007-09-25 19:18:09 +00:00
  • 6a14825e74 Use bools Roy Marples 2007-09-25 17:32:12 +00:00
  • c6c7df47a0 Revert last patch Roy Marples 2007-09-25 17:30:07 +00:00
  • 1a6451654f We no longer use bool in our public headers, using int instead. Roy Marples 2007-09-25 17:19:02 +00:00
  • b24e877948 Retain behavior where rc-update del warns if nothing changed. Mike Frysinger 2007-09-25 17:03:19 +00:00
  • 6fc541a9b8 Retain behavior where rc-update del foo deletes foo from all runlevels. Mike Frysinger 2007-09-25 16:42:59 +00:00
  • 284286004e Add support for describing the options in the C programs. Mike Frysinger 2007-09-25 16:21:38 +00:00
  • 17f430c0b9 Skip consolefont setup when RC_TTY_NUMBER is set to 0. Mike Frysinger 2007-09-25 15:55:47 +00:00
  • 1e4e8ed27a Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups. Roy Marples 2007-09-25 15:38:21 +00:00
  • a2e5c4513e Use -t for -fstype to match mount to make vapier happy Roy Marples 2007-09-25 12:22:48 +00:00
  • 9d9880feac outdent properly Roy Marples 2007-09-25 12:20:25 +00:00
  • bbac5bbf8a Work with wpa_supplicant in /usr Roy Marples 2007-09-25 12:20:00 +00:00
  • f383365493 Do not require portmap in netmount when nolock option is used with nfs mounts and fixup the test so that it actually works. Mike Frysinger 2007-09-25 02:29:56 +00:00
  • 450cc13a5c dump a useful error message if nothing happened Mike Frysinger 2007-09-25 01:47:02 +00:00
  • 5e28066929 split links out into a sep target so implicit rules dont cause problems Mike Frysinger 2007-09-25 01:42:24 +00:00
  • cb2959ef76 Use mkdir to test. Roy Marples 2007-09-24 15:28:48 +00:00
  • ccfbb4ad45 Use mkdir to test. Also, quote for robustness Roy Marples 2007-09-24 15:27:06 +00:00
  • da90cc630e Remove debug lines Roy Marples 2007-09-24 12:11:50 +00:00
  • e95cea3d86 Split our rc commands out into general use vs service commands Roy Marples 2007-09-24 12:09:43 +00:00
  • 71e0d9e371 Default timezone to Factory Roy Marples 2007-09-24 11:29:05 +00:00
  • 3e3b54ceed eat leading newline as the common clock has a proper trailing newline Mike Frysinger 2007-09-24 10:13:20 +00:00
  • 495690ea5e Plug some leaks Roy Marples 2007-09-24 09:07:00 +00:00
  • 7a2507c52f Fix pppd metric, #193574 thanks to Martin Väth. Roy Marples 2007-09-24 06:57:40 +00:00
  • e0d06f556e Add extraopts to our usage Roy Marples 2007-09-21 11:52:37 +00:00
  • faa555efe2 No need for this convulted sed now our prefixed output is on a direct terminal again :) Roy Marples 2007-09-21 08:54:36 +00:00
  • 45bd125dcc Use 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 +00:00
  • ca58877ed0 Harden startup and shutdown Roy Marples 2007-09-20 22:45:16 +00:00
  • 963229dce8 whitespace Roy Marples 2007-09-20 11:53:10 +00:00
  • ccced38428 libeinfo now works out the number of columns from stdout rather than stdin, #188506. Roy Marples 2007-09-20 11:47:04 +00:00
  • c1cd1da595 Warn if file/directory mismatch Roy Marples 2007-09-19 17:18:43 +00:00
  • 50ea72ef4b Allow checkown to create files too. Roy Marples 2007-09-19 17:08:25 +00:00
  • 40a1beabe0 Move the error messages to the option parsing Roy Marples 2007-09-19 16:54:23 +00:00
  • b6aa1c857c Added 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 +00:00
  • a74dd430d5 Punt rc_xcalloc as nothing uses it Roy Marples 2007-09-19 13:55:01 +00:00
  • 77f9015f0b /lib/rcscripts -> /lib/rc Roy Marples 2007-09-19 13:53:40 +00:00
  • 987c72f12f --opts to --options Roy Marples 2007-09-19 11:53:35 +00:00
  • 5248fb52fa plugin 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 +00:00
  • 726e754fff var no longer used Roy Marples 2007-09-18 17:37:35 +00:00
  • 1996a1e032 Hide errors caused by old splash plugin for the time being Roy Marples 2007-09-18 16:57:39 +00:00
  • 5ba4ad52e2 Only mount /sys if it's not mounted, #192436. Roy Marples 2007-09-18 15:45:15 +00:00
  • 81c009e47d Don't be an ass - don't free the 2nd list. Instead just empty it. Roy Marples 2007-09-18 15:43:19 +00:00
  • 9587d71df3 Clarify strlist_join behaviour Roy Marples 2007-09-18 14:18:22 +00:00
  • 90c2291cac Whitespace Roy Marples 2007-09-18 14:13:16 +00:00
  • 75b5fdff29 Match 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 +00:00
  • c8b03c96b7 API change! rc_config_env is renamed to rc_make_env and takes no argument. Roy Marples 2007-09-18 12:20:55 +00:00
  • 807e4afbed Don't space separate the options Roy Marples 2007-09-18 12:08:04 +00:00
  • 936dc94351 API 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 +00:00
  • f1bba12892 API 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 +00:00
  • 99eabdc3ba Re-work mountinfo so that we have a lot less OS specific code Roy Marples 2007-09-18 09:20:30 +00:00
  • 47f21d06a0 Fix fallback configurations Roy Marples 2007-09-17 21:38:58 +00:00
  • fac4de2b46 Portability Roy Marples 2007-09-17 20:59:55 +00:00
  • cc7df1d1f8 Document the preferance of wpa_supplicant, #192828. Roy Marples 2007-09-17 17:44:10 +00:00
  • bcb85a016d BSD will need a fixed gcc for --as-needed Roy Marples 2007-09-12 14:32:18 +00:00
  • a5585487aa More --as-needed foo Roy Marples 2007-09-11 22:06:27 +00:00
  • 607f2b37b1 Work better with --as-needed Roy Marples 2007-09-11 21:45:26 +00:00
  • bc6b031f2e librc should link against libeinfo too Roy Marples 2007-09-10 21:26:13 +00:00
  • 2aac9fa464 revert 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 +00:00
  • 5420f22a14 add BSD SPECIFIC OPTIONS marking Mike Frysinger 2007-09-09 16:12:53 +00:00
  • 869da3c685 only 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 +00:00
  • 230421384a Allow 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 +00:00
  • 06ae2e5593 Allow people to specify a list of temp dirs to clean in bootmisc #191807. Mike Frysinger 2007-09-09 15:52:05 +00:00
  • ba4b5d5b7f Makefile in src now supports pmake as used on the BSDs. Roy Marples 2007-09-06 13:00:03 +00:00
  • d095d4d8f5 strdup -> rc_xstrdup Roy Marples 2007-09-06 08:59:35 +00:00
  • eb5b1c4c41 start-stop-daemon now works with userids correctly when a pidfile is not specified, #191206. Roy Marples 2007-09-04 09:32:36 +00:00
  • 52f7df0d0c Add --quiet to mountinfo Roy Marples 2007-09-03 14:02:15 +00:00
  • a166958537 Always 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 +00:00
  • 2a1e0c1d8d Release rc4 Roy Marples 2007-09-02 13:12:24 +00:00
  • 09374583ac RC_TTY_NUMBER now defaults to 12, #190996 thanks to Pacho Ramos. Roy Marples 2007-09-02 13:09:34 +00:00
  • 2d39857170 Don't use local here Roy Marples 2007-09-02 12:55:18 +00:00
  • c04af92cb4 We may not always add to the array, so re-count it afterwards Roy Marples 2007-09-01 00:51:41 +00:00
  • a9ebc7a2af Only generate dependencies for Gentoo scripts, #190547. Roy Marples 2007-08-31 16:21:19 +00:00
  • 6cf2085488 Don't add multiple entries to ld.so.conf Roy Marples 2007-08-31 11:06:49 +00:00
  • d3bd76486a More path fixes thanks to Thomas Pani Roy Marples 2007-08-28 16:28:33 +00:00
  • f7583144f3 Use correct defines Roy Marples 2007-08-28 13:10:07 +00:00
  • 144d9653e1 Undocument pause action, fix --nodeps and --ifstarted, #190045. Roy Marples 2007-08-28 13:06:44 +00:00
  • 849b983c3f #define shutdown Roy Marples 2007-08-28 09:17:04 +00:00
  • d6acd7d83e Move more stuff to #defines Roy Marples 2007-08-28 09:13:46 +00:00
  • 36118e7dbd Fix ksoftlevel handling, #190420. Roy Marples 2007-08-28 08:50:04 +00:00
  • 2845610fa6 Add /etc/gentoo-release to CONFIG_PROTECT_MASK. Mike Frysinger 2007-08-26 15:57:00 +00:00
  • 0d031e5481 Punt PAGER and EDITOR. People need to set this themselves now. Mike Frysinger 2007-08-25 18:47:45 +00:00
  • 4a23e42be8 Make sure we list all config files in rc help output. Mike Frysinger 2007-08-25 18:17:05 +00:00
  • 9cf4628aaa Setup wtmp for BSD too Roy Marples 2007-08-23 10:25:09 +00:00
  • 1ef8a7f041 Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter Roy Marples 2007-08-22 14:10:46 +00:00
  • 25d46c0e96 Fix pppd getting the interface metric. Roy Marples 2007-08-21 08:21:40 +00:00
  • dc5e26e056 rc3 Roy Marples 2007-08-20 13:32:31 +00:00
  • 4a8feebc1b As discussed on the -dev ml, RC_DEPEND_STRICT now defaults to yes. Roy Marples 2007-08-20 09:10:24 +00:00
  • 9ea8afb200 No point in having to lots of get the user code. Roy Marples 2007-08-20 09:08:06 +00:00
  • 0963e06766 Mark 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 +00:00
  • 7aaa601aad needsme should always be valid too Roy Marples 2007-08-17 13:23:02 +00:00
  • b10bd4b9d7 Stop un-needed services when changing runlevels, #189050. Roy Marples 2007-08-17 12:14:04 +00:00
  • adbe039385 When shutting down, stop the service even if dependants failed. Roy Marples 2007-08-17 11:31:36 +00:00
  • bc90e41b76 Intergrate our standard options Roy Marples 2007-08-17 11:01:18 +00:00
  • d1a1e3a3c9 Allow --user and --group to also mean --chuid and --chgrp Roy Marples 2007-08-17 10:54:04 +00:00
  • e0a29e41a2 Allow 'del' to work as a command Roy Marples 2007-08-17 09:46:01 +00:00
  • eba9b8ac14 Fully move esyslog into rc Roy Marples 2007-08-16 17:09:57 +00:00
  • 6e5c8f8e5a Add esyslog support Roy Marples 2007-08-16 16:53:20 +00:00
  • b8b1352b38 whitespace Roy Marples 2007-08-15 17:47:25 +00:00
  • 2ad4a5ba4a Add config to rc-help.sh Roy Marples 2007-08-15 16:58:51 +00:00