summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-07 19:41:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-07 19:41:46 +0200
commit73ff1e6a6cc90c5f54985547e490016ce375656a (patch)
tree313f0cc2755634ee6456463e04b071d76815530c /scripts
parenta38216f72c21d0cf2acca644e687bda23235c9ae (diff)
fix some raspberry pi probs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-rpi.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-rpi.sh b/scripts/install-rpi.sh
index 0cf88cf4c..244e6702f 100755
--- a/scripts/install-rpi.sh
+++ b/scripts/install-rpi.sh
@@ -93,13 +93,13 @@ parted -s $1 unit cyl mkpart primary fat32 -- 0 16
if [ $datadir -eq 0 ];then
parted -s $1 unit cyl mkpart primary ext2 -- 16 $rootsize
parted -s $1 unit cyl mkpart primary fat32 $rootsize $maxsize
- sfdisk --change-id $1 3 88
+ sfdisk --change-id $1 3 88 >/dev/null 2>&1
else
parted -s $1 unit cyl mkpart primary ext2 -- 16 $rootsize
parted -s $1 unit cyl mkpart primary ext2 $rootsize $datasize
parted -s $1 unit cyl mkpart primary fat32 $datasize $maxsize
parted -s $1 set 1 boot on
- sfdisk --change-id $1 4 88
+ sfdisk --change-id $1 4 88 >/dev/null 2>&1
fi
sleep 2
mkfs.vfat ${1}1 >/dev/null