Commit Graph

540 Commits

Author SHA1 Message Date
Roy Marples
f28763d492 As we're running each plugin in a fork, we need to call our cleanup code so we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly. 2007-07-04 16:02:01 +00:00
Roy Marples
46156cc8cd We need the full path to the service before chdir / 2007-07-04 14:56:59 +00:00
Roy Marples
0234605bf4 Up the interface after preup incase preup brings it down 2007-07-04 14:21:24 +00:00
Roy Marples
9c7bbdd774 We still need to wait for services we need/use 2007-07-03 08:38:27 +00:00
Roy Marples
f23b6d0e95 Don't wait for services that were inactive, #183667 thanks to Daniel Drake 2007-07-02 22:07:58 +00:00
Roy Marples
3a9375c7df Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel 2007-07-02 22:05:38 +00:00
Roy Marples
d6c72cc87c Fix error and only let root run init commands except for status and help 2007-07-02 19:57:18 +00:00
Roy Marples
53097aedc5 Don't set an early font if consolefont isn't in a runlevel, #183773. 2007-07-01 08:45:23 +00:00
Roy Marples
afaa27fd65 Add --nocolor to more programs 2007-06-28 15:44:38 +00:00
Roy Marples
0fdc53d54d Add --nocolor to more programs 2007-06-28 15:44:14 +00:00
Roy Marples
10c3592147 Add --no-ldconfig option to env-update to match portage. 2007-06-27 12:35:43 +00:00
Roy Marples
f9220d3e28 Change pwd to / for all init scripts, #181224. 2007-06-26 09:20:42 +00:00
Roy Marples
0575c15993 Change pwd to / for all init scripts, #181224. 2007-06-26 08:47:46 +00:00
Roy Marples
75f776732b --nocolor works again, #181011 thanks to Daniel Drake. 2007-06-26 08:39:02 +00:00
Mike Frysinger
5876968f2e calc the files to install dynamically 2007-06-22 02:59:29 +00:00
Mike Frysinger
6e8f3dabf7 Allow urandom location to be customized #134489. 2007-06-22 02:57:40 +00:00
Mike Frysinger
1bf11dcfb6 add missing ChangeLog entry 2007-06-22 02:50:34 +00:00
Mike Frysinger
45d2bcdb9f Use -q option with modprobe rather than sending to /dev/null. 2007-06-02 12:23:43 +00:00
Mike Frysinger
804de005b8 Fix from comio for /proc/filesystems typo in localmount #180621. 2007-06-02 12:22:07 +00:00
Mike Frysinger
230e3f2afe Don't warn about Factory clock when booting off of livecd. 2007-05-31 05:51:00 +00:00
Roy Marples
27344f7f27 Use killall5 again so we can cleanly remount / readonly, #168977
and #177689.
2007-05-30 22:30:54 +00:00
Roy Marples
1c1b0b0a4c Don't use -f with mount 2007-05-30 15:47:54 +00:00
Roy Marples
e81ab8ecf8 Call umount with LC_ALL=C so that we can umount /usr 2007-05-30 15:24:21 +00:00
Roy Marples
ece3f4e666 Only call systohw in clock when we don't have adjfile or we aren't UTC. 2007-05-30 12:17:35 +00:00
Roy Marples
8bcc145c98 Always update mtab 2007-05-30 11:26:53 +00:00
Roy Marples
dd332f377c Improve spelling 2007-05-27 16:02:25 +00:00
Roy Marples
d94d68767a Harden testing of /proc being valid 2007-05-23 14:12:06 +00:00
Roy Marples
f754cfd2a9 RC_SYS should now set XEN0 correctly 2007-05-23 12:30:34 +00:00
Roy Marples
64e6dcfc9f Create a function for running init.sh and init-early.sh which saves on code and removes a gcc-4.2 warning 2007-05-22 12:25:43 +00:00
Roy Marples
49347d6f77 Be more resilient when the nettree is invalid 2007-05-18 20:09:10 +00:00
Roy Marples
237a66b05c Default eend to SUCCESS if no options given 2007-05-16 18:45:16 +00:00
Roy Marples
eb7a0a6285 busybox sysctl does not support -q 2007-05-16 14:53:47 +00:00
Roy Marples
49b36c5f2e Remove debug line 2007-05-16 11:28:45 +00:00
Roy Marples
1ac8d86ebe Stop using getimeofday for timeouts incase the clock changes. 2007-05-16 11:05:42 +00:00
Roy Marples
66d7150750 Allow more modes to work. 2007-05-16 06:33:25 +00:00
Roy Marples
fc597a8721 /etc/conf.d/rc.$runlevel now works, #177869. 2007-05-15 15:56:35 +00:00
Roy Marples
b20d600e49 Don't enable syn cookies by default as support for them isn't enabled in the default kernel. 2007-05-15 14:43:44 +00:00
Roy Marples
f3888d7613 Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks to drizztbsd for find public domain code :) 2007-05-14 19:50:13 +00:00
Roy Marples
d0308aaecd Use correct function casts. Use dlfunc where available to remove ISO warnings :) 2007-05-14 17:05:55 +00:00
Roy Marples
b2e8324184 Release alpha3 2007-05-14 15:05:56 +00:00
Roy Marples
08aec3c412 Should fix this bug too 2007-05-14 14:47:07 +00:00
Roy Marples
14c59d4071 RC_INTERACTIVE now works, #178331. 2007-05-14 12:48:37 +00:00
Roy Marples
bbfb7bc409 Add --startas back to s-s-d, #175980, #175981. 2007-05-14 12:37:13 +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
86c7d44d66 Fix forcing preferred APS 2007-05-12 21:37:59 +00:00
Mike Frysinger
3ae655caa3 mount nfsd on /proc/fs/nfs automatically 2007-05-12 11:07:04 +00:00
Roy Marples
81ccc67446 Store the defined random pool size, #177722 thanks to Yaroslav Isakov. 2007-05-11 10:33:49 +00:00
Roy Marples
56148d60dd Use auto for /mnt/cdrom, #177990. 2007-05-11 08:58:58 +00:00
Roy Marples
46cd245ee3 Use clock MONOTONIC to timeout, not localtime, #177514 2007-05-11 08:58:19 +00:00
Roy Marples
7cdd8d4a0e Only mount ro on Linux 2007-05-11 08:57:47 +00:00