Permalink
Browse files

better compatibility with ubuntu

  • Loading branch information...
Tomas-M committed Jan 8, 2013
1 parent 54e54e7 commit 4e2f90413655382a8a1a72b8f30423f3abcf5085
Showing with 3 additions and 1 deletion.
  1. +3 −1 bootfiles/bootinst.sh
View
@@ -37,7 +37,9 @@ if [ "$DEV" != "$PART" ]; then
(
fdisk -l "$DEV" | fgrep "*" | fgrep "$DEV" | cut -d " " -f 1 \
| sed -r "s:.*[^0-9]::" | xargs -I '{}' echo -ne "a\n{}\n"
- echo -ne "a\n$PART\nw\n"
+ echo a
+ echo $PART
+ echo w
) | fdisk $DEV >/dev/null 2>&1
fi

0 comments on commit 4e2f904

Please sign in to comment.