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 59c524d0293655ea2e01c7a639cf614060d393b0 (commit)
from 9e9fca31e68417f33e708eccbe7dad997d8a9254 (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 59c524d0293655ea2e01c7a639cf614060d393b0
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Fri Jan 14 10:39:23 2011 +0100
fireinfo: generate pakfire uuid if not present.
-----------------------------------------------------------------------
Summary of changes:
src/initscripts/init.d/fireinfo | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Difference in files:
diff --git a/src/initscripts/init.d/fireinfo b/src/initscripts/init.d/fireinfo
index bedf3a5..47565b3 100644
--- a/src/initscripts/init.d/fireinfo
+++ b/src/initscripts/init.d/fireinfo
@@ -19,6 +19,11 @@ case "${1}" in
start)
mkdir -p /var/ipfire/fireinfo 2>/dev/null
+ # Generate Pakfire uuid if not present
+ if [ ! -e /opt/pakfire/db/uuid ]; then
+ uuidgen > /opt/pakfire/db/uuid
+ fi
+
sendprofile --public-id > /var/ipfire/fireinfo/public_id
sendprofile --dump > /var/ipfire/fireinfo/profile
;;
hooks/post-receive
--
IPFire 2.x development tree