Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-02-14 00:22:16 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-02-14 00:22:16 +0300
commit6dfed02838c04e499e287dcc32c15e655664283d (patch)
tree26774f200eeb1af3af38a45e4207c198560b04fe /mods/mod_hakchi/hakchi/init
parent1923b2d55a0266c945364764df4e1d97b402c4d9 (diff)
Many changes, updated to madmonkey's hakchi, zImage support, USB host support
Diffstat (limited to 'mods/mod_hakchi/hakchi/init')
-rw-r--r--mods/mod_hakchi/hakchi/init5
1 files changed, 3 insertions, 2 deletions
diff --git a/mods/mod_hakchi/hakchi/init b/mods/mod_hakchi/hakchi/init
index 50fc66a4..023db13a 100644
--- a/mods/mod_hakchi/hakchi/init
+++ b/mods/mod_hakchi/hakchi/init
@@ -6,6 +6,7 @@ init(){
export modpath="/$modname"
export mountpoint="/newroot"
export temppath="/tmp"
+ echo "$modname init script version: 1.0"
/bin/busybox --install -s /bin/
mkdir -p "$temppath"
@@ -18,15 +19,15 @@ init(){
source "$modpath/script/base"
if [ -d "$modpath/transfer" ]; then
- export cf_usb='n'
source "$modpath/script/transfer"
else
mount_base
fi
if [ -f "$preinit" ]; then
+ export preinit
PATH="$rootfs/sbin:$rootfs/usr/sbin:$rootfs/bin:$rootfs/usr/bin:$PATH"
- "$rootfs/bin/busybox" sh -c "source "$preinit.d/b0000_defines" && source "$preinit" && preinit"
+ "$rootfs/bin/busybox" sh -c "source "$preinit" && preinit"
else
umount_base
fi