]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Updater: doesn't show gpl after update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 30 Dec 2010 14:54:41 +0000 (15:54 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 30 Dec 2010 14:54:41 +0000 (15:54 +0100)
config/rootfiles/core/44/update.sh

index 10964407b7a9bafc12ab4ae58ddf85baa78cd567..11ea8ac260d7e6723a9515eda1990a9ed0cc4628 100644 (file)
@@ -247,6 +247,10 @@ if [ "${ROOT:0:7}" == "/dev/hd" ];then
        sed -i -e "s|${ROOT:0:8}|/dev/sda|g" /etc/fstab
 fi
 #
+# Don't show gpl on updated systens
+#
+touch /var/ipfire/main/gpl_accepted
+#
 # ReInstall grub
 #
 grub-install --no-floppy ${ROOT::`expr length $ROOT`-1} --recheck