mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
fix kernel postinst scripts
SVN-Revision: 4336
This commit is contained in:
parent
eb09c38270
commit
af8a98116e
@ -45,8 +45,8 @@ define ModuleAutoLoad
|
||||
$(3) \
|
||||
if [ -n "$$$$$$$$modules" ]; then \
|
||||
mkdir -p $(2)/etc/modules.d; \
|
||||
echo "#!/bin/sh" >> $(2)/CONTROL/postinst; \
|
||||
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit" >> $(2)/CONTROL/postinst; \
|
||||
echo "#!/bin/sh" > $(2)/CONTROL/postinst; \
|
||||
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \
|
||||
echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
|
||||
echo "load_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst; \
|
||||
chmod 0755 $(2)/CONTROL/postinst; \
|
||||
|
Loading…
Reference in New Issue
Block a user