- Timestamp:
- 07/30/09 08:35:04 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-linbo/branches/testing/linbo/linbo_cmd.sh
r510 r513 969 969 local disk="${2%%[1-9]*}" 970 970 local force="$3" 971 local fstype="$(fstype_startconf "$2")" 971 972 echo -n "Entpacke: $1 -> $2 " 972 973 case "$1" in … … 975 976 check_status "$2" "$1" || force="force" 976 977 fi 977 if [ "$ (fstype "$2")" = "ntfs" -a "$force" = "force" ]; then978 if [ "$fstype" = "ntfs" -a "$force" = "force" ]; then 978 979 echo "[Komplette Partition]..." 979 980 cp_cloop "$1" "$2" ; RC="$?" 980 981 # set flag for complete cloop restore 981 982 touch /tmp/.cloop 982 elif [ "$ type" = "vfat" -a "$force" = "force" ]; then983 elif [ "$fstype" = "vfat" -a "$force" = "force" ]; then 983 984 echo "[Komplette Partition]..." 984 985 cp_cloop "$1" "$2" ; RC="$?" … … 986 987 echo "[Datei-Sync]..." 987 988 if [ "$force" = "force" ]; then 988 format "$2" "$ type" || return 1989 format "$2" "$fstype" || return 1 989 990 fi 990 991 sync_cloop "$1" "$2" ; RC="$?"
Note: See TracChangeset
for help on using the changeset viewer.
