浏览代码

revert bad commit, exec should not be used

Waldemar Brodkorb 13 年之前
父节点
当前提交
b0c6ed20e5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      package/base-files/Makefile
  2. 1 1
      package/base-files/src/etc/init.d/rcS

+ 1 - 1
package/base-files/Makefile

@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
 
 PKG_NAME:=		base-files
 PKG_VERSION:=		1.0
-PKG_RELEASE:=		25
+PKG_RELEASE:=		26
 PKG_SECTION:=		base
 PKG_DESCR:=		basic files and scripts
 

+ 1 - 1
package/base-files/src/etc/init.d/rcS

@@ -4,7 +4,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 	grep '^#INIT ' /etc/init.d/* | \
 	    sort -nk2 | \
 	    while read line; do
-		exec sh ${line%%:*} autostart 2>&1
+		sh ${line%%:*} autostart 2>&1
 	    done
 	test -e /etc/init.d/boot.local && (/bin/sh /etc/init.d/boot.local) 2>&1
 } | logger -s -p 6 -t '' &