Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
add note to restart 20-rtsp-server after changing config
  • Loading branch information
zavviodotcom committed Aug 5, 2017
1 parent a90cdee commit 63e5d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/www/cfg_rtsp_save
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CMDLINE=$(echo $QUERY_STRING | sed 's/^.....//' | sed -e "s/\+/ /g" | sed -e "s/
#don't save the file if it doesn't include _server in the command
if [ -z "${CMDLINE##*_server*}" ]; then
sed -i '/_server/c\'"$CMDLINE" /media/mmcblk0p2/data/etc/scripts/20-rtsp-server 2>&1
echo "File saved"
echo "File saved, 20-rtsp-server script must be restarted for changes to take effect"
else
echo "error"
fi
Expand Down

0 comments on commit 63e5d43

Please sign in to comment.