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
parentf6ea16159ec8583a6f2182578334aa00578cb080 (diff)
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 9e61d193..80b28a9b 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 a183e9f7..c8d6ffd2 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 9f1ce287..9f1ce287 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 ce973c1b..b65c1fd4 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 00000000..2c32fd6f
--- /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 b87b6d58..b87b6d58 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 b809d7b0..b809d7b0 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 0275767d..0275767d 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 1eee3d13..1eee3d13 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 f711b2e3..f711b2e3 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 bde173c2..bde173c2 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 1348787f..1348787f 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 786c022d..786c022d 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 95e94821..95e94821 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 a36e3395..a36e3395 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 d89224d3..d89224d3 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 7b7ddc57..7b7ddc57 100644
--- a/init.d.misc/wpa_supplicant.in
+++ b/support/init.d.examples/wpa_supplicant.in