added license to iwd.py

This commit is contained in:
Pranav Jerry 2021-07-12 20:20:50 +05:30
parent 8bf05ba334
commit 7b7c3f0b2e
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B
2 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,21 @@
#!/usr/bin/env python3
# Copyright (C) 2021 The naxalnet Authors
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Manage wifi adapter via iwd D-Bus api"""
from dasbus.connection import SystemMessageBus

View File

@ -1,10 +1,5 @@
#!/usr/bin/env python3
"""
Setup a working BATMAN Advanced network
with systemd-networkd and iwd
"""
# Copyright (C) 2021 The naxalnet Authors
# This program is free software: you can redistribute it and/or modify
@ -20,6 +15,10 @@ with systemd-networkd and iwd
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Setup a working BATMAN Advanced network
with systemd-networkd and iwd
"""
import sys
from pathlib import Path