Changeset 2617
- Timestamp:
- 10/12/07 02:03:23 (1 year ago)
- Files:
-
- trunk/scripts/vserver.functions (modified) (1 diff)
- trunk/scripts/vserver.start (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/scripts/vserver.functions
r2615 r2617 894 894 } 895 895 896 function fsckAllFS 897 { 898 local cfgdir=$1 899 local fstab="$cfgdir"/fstab 900 local FSTAB_FILE 901 local fsck_exitcode 902 903 test -e "$fstab" || return 0 904 905 export FSTAB_FILE="$fstab" 906 $_FSCK -s -n -A -T 907 fsck_exitcode=$? 908 test "$fsck_exitcode" -eq 0 -o \ 909 "$fsck_exitcode" -eq 1 || return $fsck_exitcode 910 } 911 896 912 ## Usage: waitForSync <vserver> <context> <vshelper-fifo-varname> 897 913 function initSync trunk/scripts/vserver.start
r2599 r2617 106 106 popd >/dev/null 107 107 108 fsckAllFS "$VSERVER_DIR" 109 108 110 mountRootFS "$VSERVER_DIR" 109 111 generateOptions "$VSERVER_DIR"
