mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-12-27 10:30:23 +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."
|
||||
|
||||
# remove config files, like apt purge
|
||||
purge:
|
||||
purge: uninstall
|
||||
rm -rf /etc/naxalnet
|
||||
|
||||
clean:
|
||||
|
13
README.md
13
README.md
@ -84,9 +84,9 @@ Install the requirements from the Ubuntu repositories:
|
||||
|
||||
```sh
|
||||
# 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
|
||||
pkexec pip3 install dasbus
|
||||
sudo pip3 install dasbus
|
||||
```
|
||||
|
||||
Now follow the instructions in the
|
||||
@ -100,7 +100,7 @@ available on Fedora 34 and above. Install the dependencies:
|
||||
|
||||
```sh
|
||||
# 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.
|
||||
@ -258,14 +258,15 @@ When a shutdown occurs, [enable naxalnet][enablenx]
|
||||
## Uninstalling
|
||||
|
||||
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
|
||||
# Uninstall the program, keeping the config files
|
||||
sudo make uninstall
|
||||
# Or, to uninstall and remove config files
|
||||
sudo make purge
|
||||
```
|
||||
|
||||
This requires python pip to be installed.
|
||||
|
||||
## Contributing or reporting bugs
|
||||
|
||||
See [HACKING.md](HACKING.md)
|
||||
|
Loading…
Reference in New Issue
Block a user