mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/intel-em: transition driver to be compatible with 16.7.x
This would require -devel bits, which API will change again, but we can make the driver plugin fully compatible in the way that the core package registers its loader.conf values.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
echo "uninstall loader hook"
|
||||
configctl firmware loader update
|
||||
@@ -1,2 +0,0 @@
|
||||
echo "install loader hook"
|
||||
configctl firmware loader update
|
||||
@@ -1,7 +0,0 @@
|
||||
PLUGIN_NAME= intel-em-kmod
|
||||
PLUGIN_VERSION= 1.0.1
|
||||
PLUGIN_COMMENT= intel-em-kmod wrapper (please reboot after install/deinstall)
|
||||
PLUGIN_DEPENDS= intel-em-kmod
|
||||
PLUGIN_MAINTAINER= ad@opnsense.org
|
||||
|
||||
.include "../../Mk/plugins.mk"
|
||||
@@ -1 +0,0 @@
|
||||
YES
|
||||
@@ -0,0 +1,6 @@
|
||||
echo "Updating /boot/loader.conf"
|
||||
touch /boot/loader.conf
|
||||
cp /boot/loader.conf /boot/loader.conf.bak
|
||||
(grep -v if_em_updated_load /boot/loader.conf.bak; \
|
||||
echo 'if_em_updated_load="YES"') > /boot/loader.conf
|
||||
rm -f /boot/loader.conf.bak
|
||||
@@ -0,0 +1,5 @@
|
||||
echo "Updating /boot/loader.conf"
|
||||
touch /boot/loader.conf
|
||||
cp /boot/loader.conf /boot/loader.conf.bak
|
||||
(grep -v if_em_updated_load /boot/loader.conf.bak) > /boot/loader.conf
|
||||
rm -f /boot/loader.conf.bak
|
||||
@@ -0,0 +1,7 @@
|
||||
PLUGIN_NAME= intel-em
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_COMMENT= Intel Gigabit Base Driver wrapper (requires reboot after install/deinstall)
|
||||
PLUGIN_DEPENDS= intel-em-kmod
|
||||
PLUGIN_MAINTAINER= ad@opnsense.org
|
||||
|
||||
.include "../../Mk/plugins.mk"
|
||||
Reference in New Issue
Block a user