Sytaxfehler un den ueblichen Sch***

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@816 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-08-24 07:45:35 +00:00
parent 905fbf3e06
commit a3d6c878ae
4 changed files with 4 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ done
for DEVICE in $(kudzu -qps -t 30 -c HD | grep device: | cut -d ' ' -f 2 | sort | uniq); do
mount /dev/${DEVICE}1 /cdrom 2> /dev/null
if [ -n "$(ls /cdrom/ipfire-*.tbz2 2>/dev/null)" ]; then
echo -n ${DEVICE} > /tmp/source_device
echo -n ${DEVICE}1 > /tmp/source_device
echo "Found tarball on ${DEVICE}"
else
umount /cdrom 2> /dev/null