pellcorp / creality

40 stars 5 forks source link

Bypass nginx for webcam.conf #239

Open pellcorp opened 1 week ago

pellcorp commented 1 week ago

Add a new service which rewrites the webcam.conf file if the IP address changes.

pellcorp commented 1 week ago

A sample of the output from ip a | grep "inet" | grep -v "host lo":

inet 10.0.4.72/22 brd 10.0.7.255 scope global wlan0
inet 10.0.4.102/22 brd 10.0.7.255 scope global eth0