forked from davidmroth/Extract-Kernel-Initramfs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.sh
23 lines (21 loc) · 810 Bytes
/
header.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# This is an update version of the script found at
# forum.xda-developers.com/wiki/index.php?title=Extract_initramfs_from_zImage
#
# The problem with that script is that the gzip magic number occasionally
# occurs naturally, meaning that some non-compressed files get uncompressed.
###########################
#
# This is an updated version of the script found at
# https://github.com/davidmroth/Extract-Kernel-Initramfs
#
# The problems with that script are documented in the README
###############################################################################
#####
# Configuration options that you really shouldn't need to touch anyway.
DEBUG=${DEBUG:-}
KEEP_FILES=${KEEP_FILES:-}
##
# Should not need to edit below this point.
############################################
VERSION="0.2b"