This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 455a698f16a9fcd1ebb0da8e5826e9c3b48e9b76 (commit) from c588f1ae684e0a32891f3fa8b25955a151195174 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 455a698f16a9fcd1ebb0da8e5826e9c3b48e9b76 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sun Dec 19 23:22:18 2010 +0100
Updater: convert extrahd entries to uuid.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/44/update.sh | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)
Difference in files: diff --git a/config/rootfiles/core/44/update.sh b/config/rootfiles/core/44/update.sh index ba3c80a..97416ce 100644 --- a/config/rootfiles/core/44/update.sh +++ b/config/rootfiles/core/44/update.sh @@ -179,6 +179,19 @@ grep -v "reply_body_max_size 0" > /var/ipfire/proxy/squid.conf echo >> /var/ipfire/proxy/squid.conf echo error_directory /etc/squid/errors >> /var/ipfire/proxy/squid.conf
+#Convert extrahd entries to UUID +cp -f /var/ipfire/extrahd/devices /var/ipfire/extrahd/devices.org +while read entry +do + device=`echo $entry | cut -f1 -d";"` + uuid=`blkid -c /dev/null -s UUID -o value /dev/$device` + if [ ! -z $uuid ]; then + sed -i -e "s|$device|UUID=$uuid|g" /var/ipfire/extrahd/devices + sed -i -e "s|/dev/$device|UUID=$uuid|g" /var/ipfire/extrahd/fstab + sed -i -e "s|/dev/$device|UUID=$uuid|g" /etc/fstab + fi +done < /var/ipfire/extrahd/devices.org + # # Start services #
hooks/post-receive -- IPFire 2.x development tree