aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/other-files
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-27 11:03:01 +0200
committerJo-Philipp Wich <jo@mein.io>2017-12-13 15:00:42 +0100
commit9ce30f7175f924eba5779a6d29bf9d676c9d5224 (patch)
tree3600b944cb4140610f79e6827308230f482aa0e0 /target/linux/generic/other-files
parentc8a0f3aa290c7f64dbfe5337537defe660952c0c (diff)
downloadupstream-9ce30f7175f924eba5779a6d29bf9d676c9d5224.tar.gz
upstream-9ce30f7175f924eba5779a6d29bf9d676c9d5224.tar.bz2
upstream-9ce30f7175f924eba5779a6d29bf9d676c9d5224.zip
kernel: move initramfs's init script out of base-files
Keeping it in base-files was resulting in adding it to the base-files package. This file is meant to be included manually for initramfs images only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit f6433eede79db4f6276b68e815bb17a9364292c7)
Diffstat (limited to 'target/linux/generic/other-files')
-rwxr-xr-xtarget/linux/generic/other-files/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/generic/other-files/init b/target/linux/generic/other-files/init
new file mode 100755
index 0000000000..514be57e66
--- /dev/null
+++ b/target/linux/generic/other-files/init
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+export INITRAMFS=1
+exec /sbin/init