[base-files] make basefiles aware of procd
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / preinit
index b237c2e06ebee0a34487b7538bc3a54dc106fda2..ff26f96d687f5bd2305bec54d709f847d615080a 100755 (executable)
@@ -2,6 +2,8 @@
 # Copyright (C) 2006 OpenWrt.org
 # Copyright (C) 2010 Vertical Communications
 
+[ -z "$PREINIT" ] && exec /sbin/init
+
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 
 pi_ifname=