summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-01-06 12:13:33 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-01-20 12:50:29 -0600
commit10ce67886d214850feaf60d6945fe2568da6ef84 (patch)
treeb12c56d9ac682cf13e42f5d9ba668473929cbe04 /conf.d
parenteebb2d1b9cf0da22ed654ca7ac97a0ae845802ba (diff)
downloadopenrc-10ce67886d214850feaf60d6945fe2568da6ef84.tar.gz
openrc-10ce67886d214850feaf60d6945fe2568da6ef84.tar.bz2
openrc-10ce67886d214850feaf60d6945fe2568da6ef84.tar.xz
change local to run programs
This changes the local service so that it will run programs located in @sysconfdir@/local.d instead of the local_start and local_stop functions from @sysconfdir@/conf.d/local. The advantage for the user is that these programs are not part of the openrc package, so the user does not have to worry about them being overwritten when openrc is upgraded. X-Gentoo-Bug: 351465 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=351465
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile2
-rw-r--r--conf.d/local18
2 files changed, 1 insertions, 19 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index 034dc74..374bfdb 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -1,5 +1,5 @@
DIR= ${CONFDIR}
-CONF= bootmisc fsck hostname local localmount network staticroute urandom
+CONF= bootmisc fsck hostname localmount network staticroute urandom
TARGETS+= network staticroute
CLEANFILES+= network staticroute
diff --git a/conf.d/local b/conf.d/local
deleted file mode 100644
index 97dbbcc..0000000
--- a/conf.d/local
+++ /dev/null
@@ -1,18 +0,0 @@
-# Here is where you can put anything you need to start
-# that there is not an init script for.
-
-local_start() {
- # This is a good place to load any misc programs
- # on startup (use &>/dev/null to hide output)
-
- # We should always return 0
- return 0
-}
-
-local_stop() {
- # This is a good place to unload any misc.
- # programs you started above.
-
- # We should always return 0
- return 0
-}