diff --git a/package/lean/fast-classifier/Makefile b/package/lean/fast-classifier/Makefile index b08267afdb..2b02f1b64b 100644 --- a/package/lean/fast-classifier/Makefile +++ b/package/lean/fast-classifier/Makefile @@ -88,4 +88,4 @@ endef $(eval $(call KernelPackage,$(PKG_NAME))) $(eval $(call KernelPackage,$(PKG_NAME)-noload)) -$(eval $(call BuildPackage,fast-classifier-example)) +#$(eval $(call BuildPackage,fast-classifier-example)) diff --git a/package/lean/shortcut-fe/files/etc/init.d/shortcut-fe b/package/lean/shortcut-fe/files/etc/init.d/shortcut-fe index 16ca758764..8c0d3a27ac 100755 --- a/package/lean/shortcut-fe/files/etc/init.d/shortcut-fe +++ b/package/lean/shortcut-fe/files/etc/init.d/shortcut-fe @@ -30,11 +30,12 @@ load_sfe_cm() { #shortcut-fe-drv.ko is not needed because other connection manager is not enabled [ -d "/sys/module/shortcut_fe_drv" ] && rmmod shortcut_fe_drv - [ -e "/lib/modules/$kernel_version/shortcut-fe-cm.ko" ] && { - [ -d /sys/module/shortcut_fe_cm ] || insmod /lib/modules/$kernel_version/shortcut-fe-cm.ko - } [ -e "/lib/modules/$kernel_version/fast-classifier.ko" ] && { - [ -d /sys/module/fast_classifier ] || insmod /lib/modules/$kernel_version/fast-classifier.ko + [ -d /sys/module/fast_classifier ] || insmod /lib/modules/$kernel_version/fast-classifier.ko && return + } + + [ -e "/lib/modules/$kernel_version/shortcut-fe-cm.ko" ] && { + [ -d /sys/module/shortcut_fe_cm ] || insmod /lib/modules/$kernel_version/shortcut-fe-cm.ko && return } }