]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
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 54e756c62b2c6e770f5be737cd0a5677cef46655..12d6b1c0fb3d1f7170d72a8de312c6e7cc866142 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 /