Create networking.sh
Create networking.sh

Want static IP without DHCP? Here you go!

Using like:

bash networking.sh 192.168.178.55 24 192.168.178.255 192.168.178.1 yes

Sets up your eth0 with IP=192.168.178.55, Subnetmask=255.255.255.0, Broadcast=192.168.178.255, Gateway=192.168.178.1 and with the "yes" its saves it. (but you have to reboot so that it loads it..)
felsie/Void-Linux