mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2025-02-12 21:46:07 +05:30
updated README and Makefile
Added uninstall as dependency for purge in Makefile. Changed pkexec and pkcon to sudo and apt and dnf
This commit is contained in:
parent
7e0fe5ef4c
commit
be8de69b73
2
Makefile
2
Makefile
@ -20,7 +20,7 @@ uninstall:
|
|||||||
echo "Do 'sudo make purge' to remove it."
|
echo "Do 'sudo make purge' to remove it."
|
||||||
|
|
||||||
# remove config files, like apt purge
|
# remove config files, like apt purge
|
||||||
purge:
|
purge: uninstall
|
||||||
rm -rf /etc/naxalnet
|
rm -rf /etc/naxalnet
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
13
README.md
13
README.md
@ -84,9 +84,9 @@ Install the requirements from the Ubuntu repositories:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# batctl is optional
|
# batctl is optional
|
||||||
pkcon install systemd python3-pip iwd batctl
|
sudo apt install systemd python3-pip iwd batctl build-essential
|
||||||
# Now, install dasbus with pip
|
# Now, install dasbus with pip
|
||||||
pkexec pip3 install dasbus
|
sudo pip3 install dasbus
|
||||||
```
|
```
|
||||||
|
|
||||||
Now follow the instructions in the
|
Now follow the instructions in the
|
||||||
@ -100,7 +100,7 @@ available on Fedora 34 and above. Install the dependencies:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# systemd-resolved may be required for rawhide
|
# systemd-resolved may be required for rawhide
|
||||||
pkcon install systemd-networkd iwd python3-dasbus python3-setuptools
|
sudo dnf install systemd-networkd iwd python3-dasbus python3-setuptools
|
||||||
```
|
```
|
||||||
|
|
||||||
Now head over to the [next section][install-manual] to install naxalnet.
|
Now head over to the [next section][install-manual] to install naxalnet.
|
||||||
@ -258,14 +258,15 @@ When a shutdown occurs, [enable naxalnet][enablenx]
|
|||||||
## Uninstalling
|
## Uninstalling
|
||||||
|
|
||||||
If you installed naxalnet manually, use make uninstall to remove
|
If you installed naxalnet manually, use make uninstall to remove
|
||||||
naxalnet and its data files:
|
naxalnet and its data files. This requires python pip to be installed.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
# Uninstall the program, keeping the config files
|
||||||
sudo make uninstall
|
sudo make uninstall
|
||||||
|
# Or, to uninstall and remove config files
|
||||||
|
sudo make purge
|
||||||
```
|
```
|
||||||
|
|
||||||
This requires python pip to be installed.
|
|
||||||
|
|
||||||
## Contributing or reporting bugs
|
## Contributing or reporting bugs
|
||||||
|
|
||||||
See [HACKING.md](HACKING.md)
|
See [HACKING.md](HACKING.md)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user