[Fai-commit] r3734 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Wed Aug 2 13:14:35 UTC 2006
Author: lange
Date: 2006-08-02 13:14:29 +0000 (Wed, 02 Aug 2006)
New Revision: 3734
Modified:
trunk/lib/get-config-dir-nfs
Log:
rename internal variable, fix print statement
Modified: trunk/lib/get-config-dir-nfs
===================================================================
--- trunk/lib/get-config-dir-nfs 2006-08-02 13:12:29 UTC (rev 3733)
+++ trunk/lib/get-config-dir-nfs 2006-08-02 13:14:29 UTC (rev 3734)
@@ -1,13 +1,14 @@
#!/bin/bash
+
### BEGIN SUBROUTINE INFO
# Provides-Var:
# Requires-Var: $FAI_CONFIG_SRC $FAI
-# Suggests-Var:
+# Suggests-Var: $romountopt
# Short-Description: get $FAI by mounting it via nfs
### END SUBROUTINE INFO
-SERVER=$(expr match "$FAI_CONFIG_SRC" '.*://\([^/]*\)/.*')
-NFSPATH=$(expr match "$FAI_CONFIG_SRC" '.*://[^/]*\(/.*\)')
+server=$(expr match "$FAI_CONFIG_SRC" '.*://\([^/]*\)/.*')
+nfspath=$(expr match "$FAI_CONFIG_SRC" '.*://[^/]*\(/.*\)')
-mount $romountopt $SERVER:$NFSPATH $FAI &&
-echo "Configuration space $FAI mounted from $FAI_LOCATION"
+mount $romountopt $server:$nfspath $FAI &&
+ echo "Configuration space $FAI mounted from $server:$nfspath"
More information about the Fai-commit
mailing list