mirror of git://git.2f30.org/morpheus.git
Move set -x at the top
This commit is contained in:
parent
0a7c9e877b
commit
baa70b4e3b
|
@ -2,6 +2,8 @@
|
|||
#
|
||||
# Ensure you've loaded the loop module with max_part=15
|
||||
|
||||
set -e -x
|
||||
|
||||
if test "$2" = ""; then
|
||||
echo "Usage: $0 <rootdir> <imgfile>"
|
||||
exit
|
||||
|
@ -10,8 +12,6 @@ root=$1
|
|||
img=$2
|
||||
mnt="/mnt/morpheus"
|
||||
|
||||
set -e -x
|
||||
|
||||
dd if=/dev/zero of=$img bs=512M count=4
|
||||
(
|
||||
cat << EOF
|
||||
|
|
Loading…
Reference in New Issue