summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild1
-rw-r--r--busybox.pkg/files1
2 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 734a431..a41ce87 100755
--- a/build
+++ b/build
@@ -46,6 +46,7 @@ install: build
set -e; $(config_enabled); $(install_init_script); \
if config_enabled INIT; then \
exec 3>dest/usr/share/busybox/init-scripts; \
+ ln -sf /sbin/init dest/init; \
install -d -m 0755 dest/etc; \
install -p -m 0644 inittab dest/etc/inittab; \
install -d -m 0755 dest/etc/init.d dest/etc/rc.d; \
diff --git a/busybox.pkg/files b/busybox.pkg/files
index b9362d2..5fe59b4 100644
--- a/busybox.pkg/files
+++ b/busybox.pkg/files
@@ -1,5 +1,6 @@
/bin
/etc
+/init
/sbin
/usr
/var