fifteen: rename /etc/modprobe.d config files.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 11 Jan 2014 07:36:17 +0000 (08:36 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 11 Jan 2014 07:36:17 +0000 (08:36 +0100)
config/rootfiles/core/fifteen/update.sh

index 54e756c..12d6b1c 100644 (file)
@@ -174,6 +174,11 @@ esac
 # Remove the old default theme
 rm -rf /srv/web/ipfire/html/themes/ipfire
 
+# rename /etc/modprobe.d files
+for i in $(find /etc/modprobe.d/* | grep -v ".conf")
+       mv $i $i.conf
+done
+
 #
 #Extract files
 tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C /