mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
60ecd5fe04
SVN-Revision: 33779
12 lines
225 B
Perl
Executable File
12 lines
225 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
open (bzimg, @ARGV[0]);
|
|
while (<bzimg>) { $i .= $_; }
|
|
$i .= pack "v", -(unpack "%v*", $i);
|
|
print "CSYS";
|
|
print pack("V", length($i));
|
|
print pack("V", 0);
|
|
print "WRRM";
|
|
print pack("V", length($i));
|
|
print $i;
|