[Fai-commit] r3707 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Jul 31 20:55:03 UTC 2006


Author: lange
Date: 2006-07-31 20:55:03 +0000 (Mon, 31 Jul 2006)
New Revision: 3707

Modified:
   trunk/lib/subroutines-linux
Log:
replace $fstab with fstab


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2006-07-31 20:54:24 UTC (rev 3706)
+++ trunk/lib/subroutines-linux	2006-07-31 20:55:03 UTC (rev 3707)
@@ -105,14 +105,14 @@
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 ### BEGIN SUBROUTINE INFO
 # Provides-Var:    none
-# Requires-Var:    $FAI_ROOT $fstab $DO_INIT_TASKS $NFSROOT
+# Requires-Var:    $FAI_ROOT $DO_INIT_TASKS $NFSROOT
 # Suggests-Var:    $createvt $sshd
 # Short-Description: <task desc.>
 ### END SUBROUTINE INFO
 
 task_extrbase() {
 
-    local fs=$FAI_ROOT/etc/$fstab
+    local fs=$FAI_ROOT/etc/fstab
     local basefile=/var/tmp/base.tgz
     [ $DO_INIT_TASKS -eq 0 ] && basefile=$NFSROOT/var/tmp/base.tgz
     # extract the tar file which was the result of debootstrap
@@ -120,7 +120,7 @@
     gzip -dc $basefile | tar -C $FAI_ROOT -xpf -
     # now we can copy fstab
     [ -f $fs ] && mv $fs $fs.old
-    cp -p $LOGDIR/$fstab $fs
+    cp -p $LOGDIR/fstab $fs
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 ### BEGIN SUBROUTINE INFO




More information about the Fai-commit mailing list