Commit Graph

24 Commits

Author SHA1 Message Date
Roy Marples
f3e90dddbf rc single and rc sysinit don't check sysvinit env vars in prefix. 2008-03-03 15:57:36 +00:00
Roy Marples
0aedc02860 Introduce LOCAL_PREFIX for a user maintained script location. 2008-03-03 10:33:42 +00:00
Roy Marples
c67c283b2a Fix prefix test. 2008-03-03 08:06:53 +00:00
Roy Marples
7c092fbc79 If build in a prefix, define the system as prefix. 2008-03-02 10:40:08 +00:00
Roy Marples
baf217acc7 Fix unused var. 2008-03-01 09:27:29 +00:00
Roy Marples
f092045650 Support the use of PREFIX and PKG_PREFIX. 2008-02-28 11:08:49 +00:00
Roy Marples
79d40707db Fix compile on Linux. 2008-02-19 15:51:59 +00:00
Roy Marples
0364bb2c84 Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22 2008-02-19 14:15:53 +00:00
Roy Marples
3198d81a1f Remove unsed vars 2008-02-10 23:13:09 +00:00
Roy Marples
4c6a66c3e9 Just restore the old set. 2008-02-04 21:48:05 +00:00
Roy Marples
5014968e83 Fix fork error message. 2008-02-02 22:17:44 +00:00
Roy Marples
7b27a12f6c OK, we have to use fork with sigprocmask as not all systems provide a working and sane kernel call to bypass libc. 2008-02-02 14:22:37 +00:00
Roy Marples
8830b50636 Fix compile on systems that do not expose SYS_sigaction. 2008-02-02 13:00:22 +00:00
Roy Marples
e2919519d7 Using syscall in a vfork is safe for sigaction and sigprogmask. 2008-02-02 00:38:06 +00:00
Roy Marples
ad04517623 Block signals to avoid fork /signal races. 2008-02-02 00:17:35 +00:00
Roy Marples
4bdfccc2c2 Fix adding net scripts to the boot runlevel. 2008-01-30 12:50:44 +00:00
Roy Marples
b4bff9ce5e Quiet some lint warnings. 2008-01-22 10:29:15 +00:00
Roy Marples
c6774d1c74 If adding to the boot runlevel, ensure that the realpath of the resolved service points to /etc/init.d/$service 2008-01-15 19:47:48 +00:00
Mike Frysinger
6aab712cb4 strip trailing newlines 2008-01-14 05:05:22 +00:00
Roy Marples
87e4e4410c Remove rc_service_plugable function and make it private as it needs to read from our config file. 2008-01-13 17:47:23 +00:00
Roy Marples
abde759d5b Re-indent to a standard tw of 8. 2008-01-11 15:51:40 +00:00
Roy Marples
43d0f3fc76 rc_getline keeps expanding it's malloced buffer until it has read a whole line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line. 2008-01-07 12:29:30 +00:00
Roy Marples
16a2c82bd1 We should check we resolved a service before stating it's existance. 2008-01-06 21:06:47 +00:00
Roy Marples
ac21d75300 Add some .mk stubs to impersonate bsk .mk files to make writing our Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though. 2008-01-05 19:25:55 +00:00