diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-02-05 01:04:10 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-02-05 01:04:10 +0000 |
commit | 6777d03846a997f84aff74d780a272a164a5f654 (patch) | |
tree | 4226e3c025f80c3e6aa326f4240b60db9fa167f6 /linux/Documentation/dvb | |
parent | 12a058741d7752112fa1c62fd9626d6f19782ee0 (diff) | |
download | mediapointer-dvb-s2-6777d03846a997f84aff74d780a272a164a5f654.tar.gz mediapointer-dvb-s2-6777d03846a997f84aff74d780a272a164a5f654.tar.bz2 |
patch by Mattias Holmlund: support new version of unshield for
sp887x firmware extraction (changed cmdline parameters)
Diffstat (limited to 'linux/Documentation/dvb')
-rw-r--r-- | linux/Documentation/dvb/get_dvb_firmware | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware index 1ddf1aa7b..4d9adada0 100644 --- a/linux/Documentation/dvb/get_dvb_firmware +++ b/linux/Documentation/dvb/get_dvb_firmware @@ -79,8 +79,8 @@ sub sp887x { wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); unshield("$tmpdir/$cabfile", $tmpdir); - verify("$tmpdir/sc_main.mc", $hash); - copy("$tmpdir/sc_main.mc", $outfile); + verify("$tmpdir/ZEnglish/sc_main.mc", $hash); + copy("$tmpdir/ZEnglish/sc_main.mc", $outfile); $outfile; } @@ -292,7 +292,7 @@ sub unzip { sub unshield { my ($sourcefile, $todir) = @_; - system("unshield -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die ("unshield failed - unable to extract firmware"); + system("unshield x -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die ("unshield failed - unable to extract firmware"); } sub verify { |