Skip to content

Commit

Permalink
add log info and remove absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Feb 29, 2024
1 parent f18811f commit 2f42818
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,20 @@ if [ "$architecture" == "arm64" ]; then
cp ./PalServer.sh ./PalServer-arm64.sh

pagesize=$(getconf PAGESIZE)
box64_binary="/usr/local/bin/box64"
box64_binary="box64"

case $pagesize in
8192)
box64_binary="/usr/local/bin/box64-8k"
LogInfo "Using Box64 for 8k pagesize"
box64_binary="box64-8k"
;;
16384)
box64_binary="/usr/local/bin/box64-16k"
LogInfo "Using Box64 for 16k pagesize"
box64_binary="box64-16k"
;;
65536)
box64_binary="/usr/local/bin/box64-64k"
LogInfo "Using Box64 for 64k pagesize"
box64_binary="box64-64k"
;;
esac

Expand Down

0 comments on commit 2f42818

Please sign in to comment.