From 30081e71b411a5e9e461b18d608739bcc711ac8d Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Tue, 3 Oct 2017 18:27:02 +0300 Subject: Permissions fix, obsolete code removed --- mod/hakchi/script/install | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mod/hakchi/script/install b/mod/hakchi/script/install index f8d6d0a..fdd3df9 100644 --- a/mod/hakchi/script/install +++ b/mod/hakchi/script/install @@ -8,13 +8,10 @@ mod_uninstall(){ mod_repair(){ mod_repair_etc full chmod 755 $modpath/rootfs/bin/* + chmod 755 $modpath/rootfs/etc/init.d/* 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(){ -- cgit v1.2.3 From 7c928412a47858752e5eac0f0c33742b1a25fb34 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Tue, 3 Oct 2017 18:28:26 +0300 Subject: chmenu fixed to work on SNES --- mod/hakchi/rootfs/bin/chmenu | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mod/hakchi/rootfs/bin/chmenu b/mod/hakchi/rootfs/bin/chmenu index dfff917..5ae4fdc 100755 --- a/mod/hakchi/rootfs/bin/chmenu +++ b/mod/hakchi/rootfs/bin/chmenu @@ -21,18 +21,17 @@ echo $1 > "$state_file" echo New directory: $targetpath if [ "$1" != "000" ]; then - if [ ! -f "$targetpath/title.fnt" ]; then + if [ -f "$rootfs$gamepath/title.fnt" ] && [ ! -f "$targetpath/title.fnt" ]; then ln -s "$rootfs$gamepath/title.fnt" "$targetpath/title.fnt" fi - if [ ! -f "$targetpath/copyright.fnt" ]; then + if [ -f "$rootfs$gamepath/copyright.fnt" ] && [ ! -f "$targetpath/copyright.fnt" ]; then ln -s "$rootfs$gamepath/copyright.fnt" "$targetpath/copyright.fnt" fi fi pkill -KILL clover-mcp pkill -KILL ReedPlayer-Clover -rm -rf /var/cache/clover overmount_games -exec clover-mcp +/etc/init.d/S81clover-mcp start -- cgit v1.2.3