yWeb: fix some paths

Origin commit data
------------------
Branch: ni/coolstream
Commit: deedcb5792
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-01-13 (Wed, 13 Jan 2021)

Origin message was:
------------------
- yWeb: fix some paths

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-01-13 19:44:30 +01:00
parent dc15a86c98
commit 3cb8b5c7bc
10 changed files with 41 additions and 41 deletions

View File

@@ -459,9 +459,7 @@ proc()
# -----------------------------------------------------------
wol()
{
if [ -e $y_path_sbin/ether-wake ]; then
msg=`ether-wake $1`
fi
msg=`ether-wake $1`
msg="<b>Wake on LAN $1</b><br><br>$msg"
y_format_message_html
}
@@ -474,7 +472,7 @@ do_lcshot()
if [ -e "$y_path_varbin/lcshot" ]; then
$y_path_varbin/lcshot $*
else
$y_path_bin/lcshot $*
lcshot $*
fi
}
# -----------------------------------------------------------
@@ -525,7 +523,7 @@ do_settings_backup_restore()
backup)
rm -rf $workdir
mkdir -p $workdir
$y_path_bin/backup.sh $workdir >/dev/null
backup.sh $workdir >/dev/null
filename=$(ls -1 -tr $workdir/settings_* | tail -1)
echo "$filename"
;;
@@ -533,7 +531,7 @@ do_settings_backup_restore()
restore)
if [ -s "$y_upload_file" ]
then
msg=$($y_path_bin/restore.sh "$y_upload_file")
msg=$(restore.sh "$y_upload_file")
else
msg="error: no upload file"
fi