Änderungen

Zur Navigation springen Zur Suche springen
K
Zeile 77: Zeile 77:  
#!/bin/sh
 
#!/bin/sh
   −
# rev 0.3 by R.Hoffmann 2024.02
+
# rev 0.3 by R.Hoffmann @20240206
    
opkg update
 
opkg update
Zeile 88: Zeile 88:     
IP=$(/sbin/uci get network.lan.ipaddr)
 
IP=$(/sbin/uci get network.lan.ipaddr)
 +
HOSTNAME=$(/sbin/uci get ffwizard.settings.hostname)
    
cat <<EOF >/www/webcam/index.html
 
cat <<EOF >/www/webcam/index.html
 
<html>
 
<html>
 
   <head>
 
   <head>
     <title>MJPG-Streamer - Stream Example</title>
+
     <title>Webcam auf ${HOSTNAME}</title>
 
   </head>
 
   </head>
 
   <body>
 
   <body>
Zeile 121: Zeile 122:     
/etc/init.d/mjpg-streamer start
 
/etc/init.d/mjpg-streamer start
  −
HOSTNAME=$(/sbin/uci get ffwizard.settings.hostname)
      
echo -e "\n\nto register your new service call:\n\t/sbin/uci add_list ffwizard.olsr.service='http://${IP}:80/webcam/|tcp|Webcam auf ${HOSTNAME}'"
 
echo -e "\n\nto register your new service call:\n\t/sbin/uci add_list ffwizard.olsr.service='http://${IP}:80/webcam/|tcp|Webcam auf ${HOSTNAME}'"
98

Bearbeitungen

Navigationsmenü