Commit Graph

  • 1ff289e305 Whitespace. Roy Marples 2008-12-23 10:39:45 +00:00
  • 53e2bec385 We should match on the correct args for stopping daemons when pidfiles are not being used. Roy Marples 2008-12-23 10:15:41 +00:00
  • 9d9f17aa52 Allow working with the new ctrl_iface=DIR=foo directive. Roy Marples 2008-12-23 10:13:58 +00:00
  • 803dbbf0c8 Allow rc_runlevel/softlevel to set runlevel from kernel commandline. Roy Marples 2008-12-21 01:15:02 +00:00
  • 9e5e60f257 Store interactive mode after sysinit, #128 thanks to Matthias Schwarzott. Roy Marples 2008-12-13 22:20:21 +00:00
  • 6bf0289f33 Warn about stopping sysinit services, thanks to Matthias Schwarzott. Fixes #126. Roy Marples 2008-12-11 14:50:58 +00:00
  • bdb3485b49 Punt redundant dirs from git mirgation. Roy Marples 2008-12-07 08:38:16 +00:00
  • eb6daeca43 Fix dist for svn Roy Marples 2008-12-07 07:51:40 +00:00
  • 10e88090f6 Release 0.4.0 Roy Marples 2008-12-07 07:49:24 +00:00
  • 8cce75925f Ignore FreeBSD targets. Roy Marples 2008-12-05 09:24:49 +00:00
  • e72aeebbcd make ignore now updates svn:ignore as different OS's have different targets. Roy Marples 2008-12-04 19:21:47 +00:00
  • dc712a109e runlevel override works correctly again. Roy Marples 2008-12-04 17:30:26 +00:00
  • 1acbfcf5ca Report invalid runlevels. Roy Marples 2008-12-04 17:17:09 +00:00
  • f8210050e5 If we're building from subversion, brand the binary as such. Roy Marples 2008-12-04 13:12:46 +00:00
  • 38e6c9ba5c make ignore now configures the sv:ignore property. Roy Marples 2008-12-04 12:38:23 +00:00
  • 2c98c5326a Punt .gitignore files. Roy Marples 2008-12-04 12:12:09 +00:00
  • 57f90a42ba Include hotplugged services in our start list. Roy Marples 2008-12-01 08:46:50 +00:00
  • bde35d03ed Actally show hotplugged services. Roy Marples 2008-12-01 08:46:25 +00:00
  • 8b76e1d2e0 Ignore interupts when waiting for processes to finish. Also, style fixes. Roy Marples 2008-11-28 10:48:01 +00:00
  • b859710cc8 Style. Roy Marples 2008-11-28 10:47:17 +00:00
  • c064393f08 Save screen space. Roy Marples 2008-11-28 10:46:58 +00:00
  • e84f71596e Not needed. Roy Marples 2008-11-27 21:14:52 +00:00
  • 23e73957a0 Switch from select to poll and improve the no prefixing of eend calls. Roy Marples 2008-11-27 21:14:43 +00:00
  • 2537a07e10 Switch from select to poll and improve the no prefixing of eend calls. Roy Marples 2008-11-27 21:05:39 +00:00
  • 5403e70313 Save more screen space by removing the space befor the * for einfo and friends. Also remove the leading space before ... for ebegin. Roy Marples 2008-11-26 10:46:33 +00:00
  • fe12134a5b Don't warn about waiting for services marked as notimeout, Gentoo #247306. Roy Marples 2008-11-23 18:40:43 +00:00
  • 1deaa0fae0 Fix lib. Roy Marples 2008-11-13 09:35:00 +00:00
  • 0cca768b82 Mark the addon code as deprecated. Roy Marples 2008-11-12 19:19:56 +00:00
  • df22978de9 Punt halt init script. sysvinit should install it. See Gentoo bug #246502 on how to handle this. Roy Marples 2008-11-12 16:28:07 +00:00
  • fe509db660 Save a needless malloc when re-creating PATH. Roy Marples 2008-11-12 10:55:42 +00:00
  • 937b1b2abf Don't set user info unless stated. Roy Marples 2008-11-11 19:47:30 +00:00
  • eafbed0366 Fix stopping with a faulty pidfile. Roy Marples 2008-11-10 20:57:03 +00:00
  • 0786141026 Restore interface_exists, interface_up and interface_exists, #123. Roy Marples 2008-11-10 12:31:20 +00:00
  • 90d175ae27 Remove deprecated use of modprobe -l. If we need this functionaltiy back, we need to use something else, like say find. Roy Marples 2008-11-04 17:08:35 +00:00
  • a178fd0f32 We should not update mtab here. Roy Marples 2008-11-04 17:07:32 +00:00
  • 03e8e0cb68 More Typos. Roy Marples 2008-11-04 14:28:51 +00:00
  • a3d266e741 Use mount-ro Roy Marples 2008-11-04 11:32:07 +00:00
  • 42e6a95b1d Move romount to mount-ro and use the umount -r option as it's more reliable for / --bind mounts, Gentoo #239922. Thanks to Duncan. Roy Marples 2008-11-04 11:30:15 +00:00
  • 45044c9239 Typo Roy Marples 2008-11-04 11:28:24 +00:00
  • 5fc6f21169 Typo Roy Marples 2008-11-04 11:05:30 +00:00
  • 2cf24fe793 Ignore after dependencies for shutdown when not in the runlevel. Roy Marples 2008-11-04 09:32:21 +00:00
  • cc14b55414 Now the linx fsck man page has return codes, I find them different from the BSD's so adjust accordingly. Roy Marples 2008-11-04 07:45:05 +00:00
  • 33d4fba5be We start off in sysinit correctly. Roy Marples 2008-11-04 00:21:30 +00:00
  • 32e17af92f No need for NULL here. Roy Marples 2008-11-03 23:13:36 +00:00
  • 77d56f5489 Avoid depends not in the runlevel for sysinit and shutdown. Roy Marples 2008-11-03 23:13:12 +00:00
  • c520d4a23a --nice is -N, not -n. Also, correct default timeout. Roy Marples 2008-11-03 21:11:29 +00:00
  • 8a76c27325 Fix sending signals, #121. Roy Marples 2008-11-03 21:06:45 +00:00
  • 7467440a29 Fix fstabinfo for mounting /dev/shm, Gentoo #245367. Roy Marples 2008-11-03 18:00:55 +00:00
  • 282ad4bae6 Add descriptions. Roy Marples 2008-11-03 16:16:12 +00:00
  • 1e5a6f40e5 We shouldn't run halt.sh anymore. Roy Marples 2008-11-03 16:11:29 +00:00
  • 0af7d5bc20 Add a new shutdown runlevel, Gentoo #224537. Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package. Roy Marples 2008-11-03 15:31:01 +00:00
  • 895c4f4149 Plug a leak and expand exec also. Roy Marples 2008-10-30 17:57:58 +00:00
  • 20380d3144 Allow ~ and ~user to expand for chdir and chroot. Roy Marples 2008-10-30 17:40:48 +00:00
  • e1341e372b Fix --name when stopping, Gentoo #243088. Roy Marples 2008-10-30 16:26:05 +00:00
  • 1c73f2967c We no longer hotplug by default. Roy Marples 2008-10-30 15:03:12 +00:00
  • 2ff0838abb We should show hotplugged services, needed services and manually started services in rc-status. Roy Marples 2008-10-30 14:59:14 +00:00
  • 53ddd6ca96 Properly set PAM enviornment variables after opening session. Roy Marples 2008-10-29 21:35:45 +00:00
  • 9ec6ff02bb Style and typo. Roy Marples 2008-10-28 15:43:36 +00:00
  • aa991a3c99 Style. Roy Marples 2008-10-27 18:38:56 +00:00
  • 0d98d56188 Remove sysvinit specific code. The runlevels shutdown, reboot, sysinit and single should be called by init(8) and shutdown(8) and not manually. sysvinit users will have to add sulogin to their inittab to secure the console. Roy Marples 2008-10-27 18:01:03 +00:00
  • ae692e294e Don't quote $tunnel, Gentoo #218123. Roy Marples 2008-10-26 19:58:57 +00:00
  • f6e3c167ae Remove bash localisation feature, Gentoo #244444 thanks to Andrey Grozin. Roy Marples 2008-10-26 19:19:19 +00:00
  • 1d96620b84 hwclock: skip rtc checks if kernel lacks module support Mike Frysinger 2008-10-26 07:09:02 +00:00
  • d12bb5cf3c Really fix .depend Roy Marples 2008-10-20 16:47:56 +00:00
  • 9c76b077d6 Enable use of .depend on gmake. Also, generate extra dependencies for our shared libraries. Roy Marples 2008-10-20 12:09:14 +00:00
  • 0a39145a5e Include sysinit services even in single user. Roy Marples 2008-10-16 17:04:44 +00:00
  • 734e60608a Ignore new scripts. Roy Marples 2008-10-16 09:41:14 +00:00
  • 66ae6e38a7 Compile with FreeBSD 6.x make Roy Marples 2008-10-15 09:02:27 +00:00
  • 8d47d6c022 Fix fuser on BSD platforms. Roy Marples 2008-10-15 08:35:21 +00:00
  • c18c74e816 Fix adding just the default route, #119 thanks to pva. Roy Marples 2008-10-14 15:27:52 +00:00
  • da94fad3f5 Re-evaluate sys after running initsh. Roy Marples 2008-10-10 14:53:50 +00:00
  • 10cb4c18df Remove hardedcoded foo here. Roy Marples 2008-10-10 09:35:13 +00:00
  • 50b8aba8d9 Remove coldplug and just have hotplug which is a list of allowed/disallowed services. Makes things much easier. Roy Marples 2008-10-10 09:08:59 +00:00
  • 72dcac8c55 Shorten common messages for prefixed output. Roy Marples 2008-10-10 09:03:59 +00:00
  • d6da8e8c48 sysinit is now a real runlevel that handles things like udev, dmesg and mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. Roy Marples 2008-10-10 08:37:21 +00:00
  • 247766695c Fix umounting reporting exit status, Gentoo #239922. Roy Marples 2008-10-09 16:36:42 +00:00
  • 1a88a43aa5 Warn about sulogin timeout and then continue as normal, Gentoo #240383 Roy Marples 2008-10-09 16:34:21 +00:00
  • c4e673edbc Add a better, but incomplete tgoto implementation to make gcc happy. Roy Marples 2008-10-08 21:07:04 +00:00
  • a872fe5590 Fix status check, #239922 Roy Marples 2008-10-08 18:32:39 +00:00
  • 8c8751fa60 Clean up warnings regarding printf. Roy Marples 2008-10-08 15:56:47 +00:00
  • 5cdc489573 Fix utmp permissions, Gentoo #240437. Roy Marples 2008-10-08 13:58:17 +00:00
  • 4d74e94c39 Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc Roy Marples 2008-10-07 12:18:22 +00:00
  • d117b2d644 Fix tests, #Gentoo 240350. Roy Marples 2008-10-07 12:14:53 +00:00
  • cb44b0a46c #ifdef atexit cleanups calling free as the OS should do this for us, but valgrind debuggers need it. Roy Marples 2008-10-06 15:02:32 +00:00
  • 4e4c4a5bf4 kenv is not always available. Roy Marples 2008-10-03 17:50:30 +00:00
  • 09a1a5ecd4 Fix a segfault when profile.env does not exist. Roy Marples 2008-10-03 17:50:10 +00:00
  • 84f6bf4bff Release 0.3 Roy Marples 2008-10-02 16:14:13 +00:00
  • 5f76c1121a Clean stale sockets. Roy Marples 2008-10-01 21:12:54 +00:00
  • 41c1e170d6 Add an env var so plugins know when leaving single means the end, or start the default level. Roy Marples 2008-10-01 08:46:53 +00:00
  • f53197818b Correcly call the right runlevel for plugins when shutting down. Roy Marples 2008-10-01 06:10:34 +00:00
  • bb41d2cc80 Use flock to lock PREFIX_LOCK so that multiple processes can cleanly write to the same tty. Roy Marples 2008-09-27 18:50:21 +00:00
  • 4291b9140e Warn when waiting for a service every few seconds. Roy Marples 2008-09-27 17:17:15 +00:00
  • 28d7fb9430 When stopping services, check the newlevel if given otherwise the current runlevel. Fixes #100. Roy Marples 2008-09-27 16:56:03 +00:00
  • abe94bec6f Load rtc-cmos if needed, Gentoo #235647 thanks to Robin Johnson. Roy Marples 2008-09-27 06:48:21 +00:00
  • c3e192a834 Stop ssd from waiting by default - most daemons are good now. Roy Marples 2008-09-26 23:58:57 +00:00
  • 13d88731b7 We don't check exec when starting, so don't when testing for crashed. Roy Marples 2008-09-22 20:07:14 +00:00
  • ffc79a50c2 Style Roy Marples 2008-09-22 19:49:16 +00:00
  • 6748c0e04e Allow forcefsck instead of gentoo=forcefsck on the kernel command line. Roy Marples 2008-09-22 12:32:35 +00:00
  • 27805de20a Allow forcefsck on the kernel command line, Gentoo #218431 Roy Marples 2008-09-22 12:32:11 +00:00
  • 53693367df Our match arguments could be different from the exec arguments, as only the kernel should set script arguments. Roy Marples 2008-09-22 12:14:47 +00:00