blob: cd1ab8d2f19c7af0222562bb59b2714a8d9a0e9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
init(){
echo
/bin/busybox --install -s /bin/
local modname="hakchi"
local modpath="/$modname"
local mountpoint="/newroot"
local installpath=""
local firmwarepath=""
local rootfs=""
local squashfs=""
local preinit=""
local preinitpath=""
local sftype=""
local sfregion=""
local gamepath=""
local temppath="/tmp"
mkdir -p "$temppath"
source "$modpath/config"
source "$modpath/script/base"
if [ -d "$modpath/transfer" ]; then
source "$modpath/script/transfer"
else
mount_base
fi
if [ -f "$preinit" ]; then
source "$preinit"
preinit
else
umount_base
fi
}
init
|