core70: fix rename realtek modules.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 18 Jun 2013 18:43:07 +0000 (20:43 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 18 Jun 2013 18:43:07 +0000 (20:43 +0200)
config/rootfiles/core/70/update.sh

index 9c926d9e15eda6d0aa397301ad0938a117353c6f..c57cbae10450930e3a39903535d1605d6c6eb1c5 100644 (file)
@@ -55,9 +55,13 @@ if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
 fi
 
 #Switch realtek lan from vendor to kernel original...
-       mv /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r81??.ko \
-          /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r81??.ko.vendor
-       cp /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8169.ko.org \
+       cp /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8169.ko \
+          /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8169.ko.vendor
+       mv /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8101.ko \
+          /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8101.ko.vendor
+       mv /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8168.ko \
+          /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8168.ko.vendor
+       cp -f /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8169.ko.org \
           /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8169.ko
        rm /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8101.ko
        rm /lib/modules/*-ipfire*/kernel/drivers/net/ethernet/realtek/r8168.ko