summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changelog1
-rw-r--r--scripts1
-rwxr-xr-xsrc.etc/init.d/rc.local10
3 files changed, 12 insertions, 0 deletions
diff --git a/changelog b/changelog
index 1e3ac0c..db8a7ff 100644
--- a/changelog
+++ b/changelog
@@ -13,6 +13,7 @@ busybox (1.21.1-5) trunk
* Make certain service scripts create and use PID files.
* Buffer early service initialization output until syslogd is running.
* Make some service scripts a little more robust.
+ * /etc/init.d/rc.local: New service initialization script.
-- "P. J. McDermott" <pj@pehjota.net> Mon, 02 Jun 2014 19:58:21 -0400
diff --git a/scripts b/scripts
index faa54a5..0e09e4b 100644
--- a/scripts
+++ b/scripts
@@ -9,3 +9,4 @@ FEATURE_MOUNT_FLAGS mounttmpfs S03 K97
IFUPDOWN networking S20 K80
SYSLOGD syslog
TELNETD telnetd
+- rc.local
diff --git a/src.etc/init.d/rc.local b/src.etc/init.d/rc.local
new file mode 100755
index 0000000..167ebdc
--- /dev/null
+++ b/src.etc/init.d/rc.local
@@ -0,0 +1,10 @@
+#!/bin/sh /etc/rc.common
+
+START='90'
+
+start()
+{
+ [ -x /etc/rc.local ] || return 0
+ log 'Running local boot scripts'
+ /etc/rc.local
+}