You tell me how stupid it is, but it works

This commit is contained in:
Aoi Koizumi (古泉 あおい) 2021-09-01 19:47:26 +00:00
parent 5cdf66cf48
commit 42074cfcc3
6 changed files with 5673 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2021-09-01 Nova <novaburst@tilde.team>
* 0.5.1 now has support for other DHCP clients
* Available ones are dhclient (default) , dhcpc , dhcpcd and udhcpc
* configurable via Makefile as DHCPC=(insert dhcp client here)
2021-08-17 Nova <novaburst@tilde.team>
* Added a .desktop file (it uses st for launching setnet)

View File

@ -4,6 +4,7 @@ SYSCONFDIR ?= /etc
MANDIR ?= $(PREFIX)/share/man
NAME=setnet
DHCPC=dhclient
all:
@printf "doc \t Compress manual pages and generate HTML files\n"
@ -16,7 +17,7 @@ doc: setnet.8
install:
install -m0644 setnetrc $(SYSCONFDIR)/setnetrc
install -m0755 setnet.sh $(DESTDIR)$(PREFIX)/bin/setnet
install -m0755 setnet-$(DHCPC) $(DESTDIR)$(PREFIX)/bin/setnet
install -m0644 setnet.8.gz $(DESTDIR)$(MANDIR)/man8/setnet.8.gz
install -m0644 wpa_setnet.conf $(SYSCONFDIR)/wpa_supplicant/wpa_setnet.conf
uninstall:

View File

@ -28,7 +28,7 @@
## Initialisation
##
VERSION=0.5
VERSION=0.5.1
TOPSTR="setnet-${VERSION} [user: $(id -run)]"

1888
setnet-dhcpc Normal file

File diff suppressed because it is too large Load Diff

1888
setnet-dhcpcd Normal file

File diff suppressed because it is too large Load Diff

1889
setnet-udhcpc Normal file

File diff suppressed because it is too large Load Diff