[Fai-commit] r4564 - trunk/bin
    lange at alioth.debian.org 
    lange at alioth.debian.org
       
    Thu Sep 13 09:39:53 UTC 2007
    
    
  
Author: lange
Date: 2007-09-13 09:39:53 +0000 (Thu, 13 Sep 2007)
New Revision: 4564
Modified:
   trunk/bin/make-fai-nfsroot
Log:
activate -U if Ubuntu is detected
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2007-09-11 21:32:53 UTC (rev 4563)
+++ trunk/bin/make-fai-nfsroot	2007-09-13 09:39:53 UTC (rev 4564)
@@ -54,6 +54,14 @@
 merror="properly"
 sshpreserve=0
 divert=1
+
+if [ -f /etc/lsb-release ]; then
+    . /etc/lsb-release
+    case "$DISTRIB_ID" in
+	Ubuntu) divert=0 ;;
+    esac
+fi
+
 # option e currently does nothing
 while getopts hervC:f:kKpU opt ; do
     case "$opt" in
    
    
More information about the Fai-commit
mailing list