From 3dc0d23e81d5a2bb899ee18082c746febfdf5b36 Mon Sep 17 00:00:00 2001 From: Vortex-5 Date: Sun, 2 Dec 2018 22:54:56 -0500 Subject: [PATCH] Made the startup script more robust on first installation. --- bwmon/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bwmon/start.sh b/bwmon/start.sh index e60f39f..0314f6a 100644 --- a/bwmon/start.sh +++ b/bwmon/start.sh @@ -24,6 +24,7 @@ fi # copy html webgui if [ "$($SCRIPT_DIR/lighttpd-running.sh)" = "true" ]; then + mkdir -p -- "/jffs/www/" cp -R $SCRIPT_DIR/www/* /jffs/www/ else cp -R $SCRIPT_DIR/www/* /tmp/www/