mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-21 19:40:11 +00:00
Support cli only installation
Fix typo
This commit is contained in:
parent
2b01e103b7
commit
34e7dabb67
4
Makefile
4
Makefile
@ -8,6 +8,10 @@ install:
|
|||||||
@echo "Installing..."
|
@echo "Installing..."
|
||||||
cd src && $(MAKE) install
|
cd src && $(MAKE) install
|
||||||
|
|
||||||
|
install-cli-only:
|
||||||
|
@echo "Installing command line interface only..."
|
||||||
|
cd src/scripts && $(MAKE) install
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo "Uninstalling..."
|
@echo "Uninstalling..."
|
||||||
cd src && $(MAKE) uninstall
|
cd src && $(MAKE) uninstall
|
||||||
|
@ -21,9 +21,11 @@
|
|||||||
![screenshot](docs/sc2.png)
|
![screenshot](docs/sc2.png)
|
||||||
|
|
||||||
|
|
||||||
### [Command line help and documentation](src/scripts/README.md)
|
### Command line help and documentation
|
||||||
|
|
||||||
If you only need the command line without GUI please read [Command line help and documentation](src/scripts/README.md) and use `create_ap` directly.
|
Read [Command line help and documentation here](src/scripts/README.md).
|
||||||
|
|
||||||
|
If you only need the command-line without GUI run `make install-cli-only` as root user.
|
||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
|
|
||||||
|
@ -14,6 +14,13 @@ install:
|
|||||||
install -CDm644 README.md $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md
|
install -CDm644 README.md $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md
|
||||||
install -CDm755 wihotspot $(DESTDIR)$(BINDIR)/wihotspot
|
install -CDm755 wihotspot $(DESTDIR)$(BINDIR)/wihotspot
|
||||||
|
|
||||||
|
install-cli-only:
|
||||||
|
install -CDm755 create_ap $(DESTDIR)$(BINDIR)/create_ap
|
||||||
|
install -CDm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf
|
||||||
|
[ ! -d $(DESTDIR)/lib/systemd/system ] || install -CDm644 create_ap.service $(DESTDIR)/lib/systemd/system/create_ap.service
|
||||||
|
install -CDm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap
|
||||||
|
install -CDm644 README.md $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(BINDIR)/create_ap
|
rm -f $(DESTDIR)$(BINDIR)/create_ap
|
||||||
rm -f $(DESTDIR)/etc/create_ap.conf
|
rm -f $(DESTDIR)/etc/create_ap.conf
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Start wihotspot_gui as root user
|
# Start wihotspot-gui as root user
|
||||||
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/wihotspot-gui
|
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/wihotspot-gui
|
||||||
|
Loading…
Reference in New Issue
Block a user