/[fai]/trunk/bin/fai
ViewVC logotype

Diff of /trunk/bin/fai

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4814 by lange, Sun Dec 2 11:52:38 2007 UTC revision 4815 by lange, Sat Dec 8 14:08:01 2007 UTC
# Line 223  if [ X$action = Xdirinstall ]; then Line 223  if [ X$action = Xdirinstall ]; then
223          exit 4          exit 4
224      fi      fi
225    
226        # check if target directory is mounted with bad options
227        local fs=$(df $FAI_ROOT | tail -1 | awk '{print $6}')
228        if mount | grep "on $fs" |  awk '{print $6}' | egrep -q "nosuid|nodev"; then
229            echo "Target directroy is mounted using nosuid or nodev. Aborting"
230            exit 5
231        fi
232    
233      export NFSROOT=$(source $FAI_ETC_DIR/make-fai-nfsroot.conf; echo $NFSROOT)      export NFSROOT=$(source $FAI_ETC_DIR/make-fai-nfsroot.conf; echo $NFSROOT)
234      export FAI_DEBOOTSTRAP=$(source $FAI_ETC_DIR/make-fai-nfsroot.conf; echo $FAI_DEBOOTSTRAP)      export FAI_DEBOOTSTRAP=$(source $FAI_ETC_DIR/make-fai-nfsroot.conf; echo $FAI_DEBOOTSTRAP)

Legend:
Removed from v.4814  
changed lines
  Added in v.4815

  ViewVC Help
Powered by ViewVC 1.1.5