diff --git a/encoder/firmware.php b/encoder/firmware.php index 324ffcd..cd34eeb 100755 --- a/encoder/firmware.php +++ b/encoder/firmware.php @@ -128,7 +128,7 @@ $board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial')); } function confirmbackup() { - return confirm("Newer version will be downloaded and installed Do not turn off power , this is irreversible are you sure to continue ? "); + return confirm("Are you sure you want to download backup ? "); } diff --git a/install.sh b/install.sh index 8aeffc2..a4f2ceb 100755 --- a/install.sh +++ b/install.sh @@ -374,8 +374,10 @@ sudo mkdir -p /var/www/html/dash/shree; sudo mkdir -p /var/www/html/hls/shreeshree; sudo mkdir -p /var/www/html/dash/shreeshree; sudo mkdir -p /var/www/encoder; -cp -r html/* /var/www/html/ +sudo cp -r html/* /var/www/html/ sudo cp -r encoder/* /var/www/encoder/ +sudo cp private.pem /var/www/ +sudo cp public.pem /var/www/ sudo a2enmod ssl sudo systemctl enable apache2 diff --git a/encoder/private.pem b/private.pem similarity index 100% rename from encoder/private.pem rename to private.pem diff --git a/encoder/public.pem b/public.pem similarity index 100% rename from encoder/public.pem rename to public.pem