APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-18 18:38:33 +01:00
1 parent c46d60d262
commit ed08f9c8d4
8 files changed
+915 -26

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ log "Interface Wi-Fi sélectionnée : $IFACE"
log "Configuration pont (si mode pont activé dans l'interface) : pont=$AP_BRIDGE_NAME, eth=${AP_BRIDGE_ETH:-auto}"
# 2. NetworkManager : gère UNIQUEMENT l'interface Wi-Fi (l'interface Ethernet hôte ne doit JAMAIS être gérée par NM dans le conteneur)
mkdir -p /etc/NetworkManager/conf.d /run/dbus /run/NetworkManager /var/run/apache2 /var/lock/apache2 /var/log/apache2 /data /etc/wireguard /etc/openvpn /run/ap-vpn /dev/net
mkdir -p /etc/NetworkManager/conf.d /run/dbus /run/NetworkManager /var/run/apache2 /var/lock/apache2 /var/log/apache2 /data "${AP_BACKUP_DIR:-/backups}" /etc/wireguard /etc/openvpn /run/ap-vpn /dev/net
chown -R www-data:www-data /var/run/apache2 /var/lock/apache2 /var/log/apache2 2>/dev/null || true
if [[ ! -c /dev/net/tun ]]; then
mknod /dev/net/tun c 10 200 2>/dev/null || true