浏览代码

kernel: fix module packages postinst by pointing to the new functions.sh location

SVN-Revision: 34804
Felix Fietkau 13 年之前
父节点
当前提交
76f0fd210f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/kernel.mk

+ 1 - 1
include/kernel.mk

@@ -104,7 +104,7 @@ define ModuleAutoLoad
 		mkdir -p $(2)/CONTROL; \
 		mkdir -p $(2)/CONTROL; \
 		echo "#!/bin/sh" > $(2)/CONTROL/postinst; \
 		echo "#!/bin/sh" > $(2)/CONTROL/postinst; \
 		echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \
 		echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \
-		echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
+		echo ". /lib/functions.sh" >> $(2)/CONTROL/postinst; \
 		echo "load_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst; \
 		echo "load_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst; \
 		chmod 0755 $(2)/CONTROL/postinst; \
 		chmod 0755 $(2)/CONTROL/postinst; \
 	fi
 	fi