diff --git a/README.md b/README.md index e6dc931..f4ba799 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,6 @@ Environment variables: - `LOG_LEVEL`: Can be set to either "debug","warn","error","trace" or "info". Defaults to "warn" in production. - `HTTP_PORT`: What port to listen on. Defaults to 80. - `HOTSPOT_IDS`: A semicolon seperated list of ids to activate the hotspot with e.g. `578B5DF2;c1532b57`. +- `HOTSPOT_SSID`: Set the hotspot ssid. Defaults to "fwa". +- `HOTSPOT_PW`: Set the hotspot password. Default to "a9LG2kUVrsRRVUo1". Recommended to change. + diff --git a/src/hotspot.rs b/src/hotspot.rs index 150b34f..d4f50ef 100644 --- a/src/hotspot.rs +++ b/src/hotspot.rs @@ -8,7 +8,7 @@ use tokio::process::Command; const SSID: &str = "fwa"; const CON_NAME: &str = "fwa-hotspot"; -const PASSWORD: &str = "hunter22"; +const PASSWORD: &str = "a9LG2kUVrsRRVUo1"; const IPV4_ADDRES: &str = "192.168.4.1/24"; #[derive(Debug)]