FutureSharks / rpi-security

A security system written in python to run on a Raspberry Pi with motion detection and mobile notifications
GNU General Public License v2.0
215 stars 71 forks source link

use systemd env file instead of hard-coding network interface device names #41

Closed jnaulty closed 5 years ago

jnaulty commented 5 years ago

this commit creates an environment file that exports variables for the rpi-security service.

It also addresses an issue I faced when first getting this thing running on my raspberry pi. The interface name is much more predictable than phy0 or phy1, especially since I wanted to have the embedded wifi device accessible, and I found this to work consistently across reboots

I'm using Ralink Technology, Corp. RT5370 Wireless Adapter

FutureSharks commented 5 years ago

Great, thanks @jnaulty! I'll test it in the next few days.