aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-02-22 12:26:09 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-02-22 14:45:16 -0600
commit4207e46622f584eb5f0cc10bbfd36f92f001a2e2 (patch)
treea6c7bbda013333e4a992d2157625d29e0536428d
parentscripts: make sure the rc-sstat symlink is always replaced (diff)
downloadopenrc-4207e46622f584eb5f0cc10bbfd36f92f001a2e2.zip
openrc-4207e46622f584eb5f0cc10bbfd36f92f001a2e2.tar.gz
openrc-4207e46622f584eb5f0cc10bbfd36f92f001a2e2.tar.bz2
move init.d examples under support and install them
-rw-r--r--README.md4
-rw-r--r--support/Makefile2
-rw-r--r--support/init.d.examples/.gitignore (renamed from init.d.misc/.gitignore)0
-rw-r--r--support/init.d.examples/Makefile (renamed from init.d.misc/Makefile)6
-rw-r--r--support/init.d.examples/README.md3
-rw-r--r--support/init.d.examples/avahi-dnsconfd.in (renamed from init.d.misc/avahi-dnsconfd.in)0
-rw-r--r--support/init.d.examples/avahid.in (renamed from init.d.misc/avahid.in)0
-rw-r--r--support/init.d.examples/dbus.in (renamed from init.d.misc/dbus.in)0
-rw-r--r--support/init.d.examples/dhcpcd.in (renamed from init.d.misc/dhcpcd.in)0
-rw-r--r--support/init.d.examples/dnsmasq.in (renamed from init.d.misc/dnsmasq.in)0
-rw-r--r--support/init.d.examples/hald.in (renamed from init.d.misc/hald.in)0
-rw-r--r--support/init.d.examples/named.in (renamed from init.d.misc/named.in)0
-rw-r--r--support/init.d.examples/ntpd.in (renamed from init.d.misc/ntpd.in)0
-rw-r--r--support/init.d.examples/openvpn.in (renamed from init.d.misc/openvpn.in)0
-rw-r--r--support/init.d.examples/polkitd.in (renamed from init.d.misc/polkitd.in)0
-rw-r--r--support/init.d.examples/sshd.in (renamed from init.d.misc/sshd.in)0
-rw-r--r--support/init.d.examples/wpa_supplicant.in (renamed from init.d.misc/wpa_supplicant.in)0
17 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index 9e61d19..80b28a9 100644
--- a/README.md
+++ b/README.md
@@ -72,10 +72,6 @@ Obviously, if you're installing this onto a system that does not use
OpenRC by default then you may wish to backup the above listed files,
remove them and then install so that the OS hooks into OpenRC.
-`init.d.misc` is not installed by default as the scripts will need
-tweaking on a per distro basis. They are also non essential to the
-operation of the system.
-
## Reporting Bugs
If you are using Gentoo Linux, bugs can be filed on their bugzilla under
diff --git a/support/Makefile b/support/Makefile
index a183e9f..c8d6ffd 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -11,7 +11,7 @@
MK= ../mk
include ${MK}/os.mk
-SUBDIR= deptree2dot openvpn
+SUBDIR= deptree2dot init.d.examples openvpn
ifeq (${OS},Linux)
SUBDIR+= sysvinit
diff --git a/init.d.misc/.gitignore b/support/init.d.examples/.gitignore
index 9f1ce28..9f1ce28 100644
--- a/init.d.misc/.gitignore
+++ b/support/init.d.examples/.gitignore
diff --git a/init.d.misc/Makefile b/support/init.d.examples/Makefile
index ce973c1..b65c1fd 100644
--- a/init.d.misc/Makefile
+++ b/support/init.d.examples/Makefile
@@ -1,9 +1,11 @@
-DIR= ${INITDIR}
+DIR= ${DATADIR}/support/init.d.examples
+INC= README.md
SRCS= avahi-dnsconfd.in avahid.in dhcpcd.in dbus.in \
hald.in named.in ntpd.in \
openvpn.in polkitd.in sshd.in wpa_supplicant.in
+BIN= ${OBJS}
-MK= ../mk
+MK= ../../mk
SED_EXTRA+= -e 's:@VARBASE@:/var:g'
diff --git a/support/init.d.examples/README.md b/support/init.d.examples/README.md
new file mode 100644
index 0000000..2c32fd6
--- /dev/null
+++ b/support/init.d.examples/README.md
@@ -0,0 +1,3 @@
+The service scripts in this directory are meant as examples only.
+They are not installed by default as the scripts will need tweaking on a
+per distro basis. They are also non essential to the operation of the system.
diff --git a/init.d.misc/avahi-dnsconfd.in b/support/init.d.examples/avahi-dnsconfd.in
index b87b6d5..b87b6d5 100644
--- a/init.d.misc/avahi-dnsconfd.in
+++ b/support/init.d.examples/avahi-dnsconfd.in
diff --git a/init.d.misc/avahid.in b/support/init.d.examples/avahid.in
index b809d7b..b809d7b 100644
--- a/init.d.misc/avahid.in
+++ b/support/init.d.examples/avahid.in
diff --git a/init.d.misc/dbus.in b/support/init.d.examples/dbus.in
index 0275767..0275767 100644
--- a/init.d.misc/dbus.in
+++ b/support/init.d.examples/dbus.in
diff --git a/init.d.misc/dhcpcd.in b/support/init.d.examples/dhcpcd.in
index 1eee3d1..1eee3d1 100644
--- a/init.d.misc/dhcpcd.in
+++ b/support/init.d.examples/dhcpcd.in
diff --git a/init.d.misc/dnsmasq.in b/support/init.d.examples/dnsmasq.in
index f711b2e..f711b2e 100644
--- a/init.d.misc/dnsmasq.in
+++ b/support/init.d.examples/dnsmasq.in
diff --git a/init.d.misc/hald.in b/support/init.d.examples/hald.in
index bde173c..bde173c 100644
--- a/init.d.misc/hald.in
+++ b/support/init.d.examples/hald.in
diff --git a/init.d.misc/named.in b/support/init.d.examples/named.in
index 1348787..1348787 100644
--- a/init.d.misc/named.in
+++ b/support/init.d.examples/named.in
diff --git a/init.d.misc/ntpd.in b/support/init.d.examples/ntpd.in
index 786c022..786c022 100644
--- a/init.d.misc/ntpd.in
+++ b/support/init.d.examples/ntpd.in
diff --git a/init.d.misc/openvpn.in b/support/init.d.examples/openvpn.in
index 95e9482..95e9482 100644
--- a/init.d.misc/openvpn.in
+++ b/support/init.d.examples/openvpn.in
diff --git a/init.d.misc/polkitd.in b/support/init.d.examples/polkitd.in
index a36e339..a36e339 100644
--- a/init.d.misc/polkitd.in
+++ b/support/init.d.examples/polkitd.in
diff --git a/init.d.misc/sshd.in b/support/init.d.examples/sshd.in
index d89224d..d89224d 100644
--- a/init.d.misc/sshd.in
+++ b/support/init.d.examples/sshd.in
diff --git a/init.d.misc/wpa_supplicant.in b/support/init.d.examples/wpa_supplicant.in
index 7b7ddc5..7b7ddc5 100644
--- a/init.d.misc/wpa_supplicant.in
+++ b/support/init.d.examples/wpa_supplicant.in