Running net-setup from livecd-tools on a system booted up from disk corrupts /etc/conf.d/net. The file appears like this: genesis conf.d # more net # This network configuration was written by net-setup config_enp2s0=( "192.168.1.160 broadcast 192.168.1.255 netmask /usr/sbin/net-setup: line 120: --inputbox: command not found" ) routes_enp2s0=( "default via 192.168.1.1" )
Yes, this is a known problem. pkg_setup() { ewarn "This package is designed for use on the LiveCD only and will do" ewarn "unspeakably horrible and unexpected things on a normal system." ewarn "YOU HAVE BEEN WARNED!!!" }