X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fkernel.mk;h=cb62e638104efa3c46aceb797fcffca621f4a752;hb=cc636d65a0fce906605e8911926abf1ff06d48f2;hp=20377af3cf80fd2851d76a04390013db548caadd;hpb=af4be275500b5ef0c592ba4ac3fb84ac087a5bb8;p=openwrt-10.03%2F.git diff --git a/include/kernel.mk b/include/kernel.mk index 20377af3c..cb62e6381 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -77,6 +77,7 @@ define ModuleAutoLoad $(3) \ if [ -n "$$$$$$$$modules" ]; then \ mkdir -p $(2)/etc/modules.d; \ + mkdir -p $(2)/CONTROL; \ echo "#!/bin/sh" > $(2)/CONTROL/postinst; \ echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \ echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \