blob: f8d6d0a7e4c697a8b54cd82f46d0e67e4c94e964 (
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
|
mod_uninstall(){
echo uninstalling $modname...
rm -rf "$installpath"
echo done.
shutdown
}
mod_repair(){
mod_repair_etc full
chmod 755 $modpath/rootfs/bin/*
copy "/bin/" "$rootfs/bin/"
copy "/sbin/cryptsetup" "$rootfs/bin/cryptsetup"
copy "$modpath/rootfs/" "$rootfs/"
# This file required by hakchi2 kernel...
echo "hakchi_enabled=y" > "$temppath/config"
copy "$temppath/config" "$installpath/"
}
mod_install(){
echo installing $modname...
rm -rf "$rootfs"
restore "/bin/"
restore "/etc/"
restore "$gamepath/"
mod_repair
}
|