Skip to content

Commit 801a5b6

Browse files
committed
Better yet, just get darkhttpd bin location from PATH
1 parent 9e13bc8 commit 801a5b6

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

spruce/scripts/network/darkhttpdFunctions.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
. /mnt/SDCARD/spruce/scripts/helperFunctions.sh
44

5-
if [ "$PLATFORM_ARCHITECTURE" = "armhf" ]; then
6-
DARKHTTPD_DIR=/mnt/SDCARD/spruce/bin/darkhttpd
7-
else # aarch64
8-
DARKHTTPD_DIR=/mnt/SDCARD/spruce/bin64/darkhttpd
9-
fi
10-
115
WWW_DIR=/mnt/SDCARD/spruce/www
126

137
# Generic Startup
@@ -39,7 +33,7 @@ start_darkhttpd_process() {
3933
fi
4034

4135
log_message "darkhttpd: Starting Darkhttpd..."
42-
$DARKHTTPD_DIR/bin/darkhttpd $WWW_DIR >$DARKHTTPD_DIR/serve.log 2>&1 &
36+
darkhttpd $WWW_DIR >/mnt/SDCARD/Saves/spruce/serve.log 2>&1 &
4337
}
4438

4539
stop_darkhttpd_process() {

0 commit comments

Comments
 (0)