[Fai-commit] r3914 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Sep 11 14:24:57 UTC 2006
Author: lange
Date: 2006-09-11 14:24:56 +0000 (Mon, 11 Sep 2006)
New Revision: 3914
Added:
trunk/lib/get-config-dir-file
Log:
new method needed for fai-cd
Added: trunk/lib/get-config-dir-file
===================================================================
--- trunk/lib/get-config-dir-file (rev 0)
+++ trunk/lib/get-config-dir-file 2006-09-11 14:24:56 UTC (rev 3914)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+### BEGIN SUBROUTINE INFO
+# Provides-Var:
+# Requires-Var: $FAI_CONFIG_SRC
+# Suggests-Var:
+# Short-Description: get $FAI by local path
+### END SUBROUTINE INFO
+
+localpath=$(expr match "$FAI_CONFIG_SRC" '.*://\(/.*\)')
+echo "Using local path $localpath"
Property changes on: trunk/lib/get-config-dir-file
___________________________________________________________________
Name: svn:executable
+ *
More information about the Fai-commit
mailing list