summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-28 19:43:28 +0200
committerDirk von Suchodoletz2007-04-28 19:43:28 +0200
commit9af5acc8f93aa53cc7fa15a31a0a8a6e4e713c69 (patch)
treeed7634dcfe5639f4ce4131b72e795c16fdc02f7b /initramfs/initrd-stuff/etc/functions
parent* instead of the outdated slxmkramfs, the demuxer now uses the older, but better (diff)
downloadcore-9af5acc8f93aa53cc7fa15a31a0a8a6e4e713c69.tar.gz
core-9af5acc8f93aa53cc7fa15a31a0a8a6e4e713c69.tar.xz
core-9af5acc8f93aa53cc7fa15a31a0a8a6e4e713c69.zip
Cleanup for SuSE stage3, placeholders for 10.3 support added ...
(to be checked if beta is available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@945 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r--initramfs/initrd-stuff/etc/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index e3b848b1..936a073a 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -364,9 +364,9 @@ case "$tftp" in
fi
;;
esac
-# unpack part (only gzip is supported, bzip binary not present in
-# initramfs)
+# unpack part
if [ -s $dst ] ; then
+ # fixme: handle different types of packaging (gzip/bzip2)??
tar -xpzf $dst 2>/dev/null
[ "$DEBUGLEVEL" -le 2 -o "$DEBUGLEVEL" -eq 8 ] && rm $dst
return 0