summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* net-setup: Fix zero argument modeBrian Evans2017-03-071-8/+6
| | | | | | | | | | | | | The grepped output of 'ifconfig -a' included a colon after each interface. This broke subsequent calls for information on the interface. Also, instead of flashing an error when a path did not exist, check that it does exist before calling basename. Skip sit0 as it cannot be configured. Finally, check the return value of the dialog call. Only zero means an interface was selected to be processed.
* net-setup: add WPA{,2}-PSK setup optionBrian Evans2016-11-041-4/+40
|
* net-setup: read the bus name from the subsystem symbolic linkWilliam Hubbs2015-10-171-1/+1
| | | | | The /sys/class/net/${device}/bus path doesn't appear to be valid, so moving to the new link.
* Allow users to specify the network config using ipfconfig or iproute2 syntax.Jorge Manuel B. S. Vicetto (jmbsvicetto)2015-10-181-22/+53
| | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* Encorporate code from livecd-functionsWilliam Hubbs2015-02-221-8/+97
| | | | | | These functions only seem to be used by the net-setup script, so I do not see a reason to source livecd-functions when we can encorporate them directly.
* Drop the use of bash arraysJorge Manuel B. S. Vicetto (jmbsvicetto)2015-01-141-3/+3
|
* Add a missing "\" in net-setup script.EmanueL Czirai2015-01-141-1/+1
| | | | | | | | Gentoo-Bug: 536432 Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536432 X-Patch-URL: https://536432.bugs.gentoo.org/attachment.cgi?id=393846 Signed-off-by: EmanueL Czirai <emanueLczirai@cryptoLab.net> Signed-off-by: Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
* net-setup: make dialog calls more readableWilliam Hubbs2013-07-071-15/+44
| | | | | This splits the dialog calls onto multiple lines to make them more readable.
* net-setup: remove code hiding error messagesWilliam Hubbs2013-07-071-6/+0
| | | | | net-setup was hiding error messages for no given reason, so this removes the code that hides them.
* Move functions from livecd-functions.sh to net-setupWilliam Hubbs2013-07-061-5/+190
| | | | | | livecd_config_wireless, livecd_write_wireless_conf, livecd_config_ip, livecd_write_net_conf, show_ifmenu and show_ifconfirm are only used in net-setup, so this moves them into that script.
* add --visit-items to dialog commandsWilliam Hubbs2011-02-161-1/+1
| | | | | | | this makes the net-setup script much more accessible with speakup. X-Gentoo-Bug: 302381 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=302381
* Added a small fix for bug #111972 and also doing some minor clean up.Chris Gianelloni2007-10-301-1/+1
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@133 7bf51bff-881f-0410-a643-fba68b97345e
* Cleaning up the coding style on some parts and doing some minor cleanups.Chris Gianelloni2007-10-131-5/+2
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@132 7bf51bff-881f-0410-a643-fba68b97345e
* Removed all of the CVS-based headers and added /sbin/udevtrigger to the ↵Chris Gianelloni2006-12-141-3/+0
| | | | | | coldplug section of autoconfig, which should allow us to have coldplug-like functionality with newer udev versions. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@124 7bf51bff-881f-0410-a643-fba68b97345e
* Added patch from Daniel Drake <dsd@gentoo.org> to simplify network setup on ↵Chris Gianelloni2006-05-301-3/+15
| | | | | | 2.6 kernels. You 2.4 suckas bettah recognize... This is for bug #133955. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@104 7bf51bff-881f-0410-a643-fba68b97345e
* Check for presence of dialog before running. Suggestion made by Markus ↵Chris Gianelloni2006-05-301-1/+7
| | | | | | Saarinen <heroine@saunalahti.fi> in bug #134486. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@103 7bf51bff-881f-0410-a643-fba68b97345e
* Updated to work with newer baselayout versions and also to write ↵Chris Gianelloni2005-06-091-2/+3
| | | | | | configuration to livecd's /etc/conf.d files. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@55 7bf51bff-881f-0410-a643-fba68b97345e
* Updated to have the same coding style, moved functions from each script into ↵Chris Gianelloni2005-05-161-84/+18
| | | | | | livecd-functions.sh, and cleaned up function names. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@51 7bf51bff-881f-0410-a643-fba68b97345e
* Fixing broken dhcpcd hostnames.Chris Gianelloni2005-04-131-2/+2
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@47 7bf51bff-881f-0410-a643-fba68b97345e
* Added bashlogin and livecd-functions.sh from baselayout. Cleaned up ALSA ↵Chris Gianelloni2005-04-121-2/+2
| | | | | | support in autoconfig. Made x-setup use new opengl-update feature --dst-prefix. Fixed WEP key section in net-setup. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@46 7bf51bff-881f-0410-a643-fba68b97345e
* Fixed net-setup (I think).Chris Gianelloni2005-03-011-7/+7
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@45 7bf51bff-881f-0410-a643-fba68b97345e
* Fixed net-setup and x-setup and also updated headers on all files.Chris Gianelloni2005-03-011-34/+36
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@44 7bf51bff-881f-0410-a643-fba68b97345e
* I think this resolves a bug in net-setup where the wireless config isn't ↵Chris Gianelloni2005-02-241-1/+3
| | | | | | always used. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@42 7bf51bff-881f-0410-a643-fba68b97345e
* cosmetic update.Chris Gianelloni2005-02-121-3/+3
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@40 7bf51bff-881f-0410-a643-fba68b97345e
* Initial changes to net-setup to make it modular.Chris Gianelloni2005-01-281-69/+73
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@28 7bf51bff-881f-0410-a643-fba68b97345e
* Added -h option to dhcpcd so the hostname is sent to DHCP servers that ↵Chris Gianelloni2004-12-141-1/+6
| | | | | | support DDNS. Blame bug #72836. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@21 7bf51bff-881f-0410-a643-fba68b97345e
* Updating for GameCDChris Gianelloni2004-11-191-5/+8
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@18 7bf51bff-881f-0410-a643-fba68b97345e
* Fixing quotes on for livecd-tools 1.0.8 release.Chris Gianelloni2004-10-211-3/+3
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@13 7bf51bff-881f-0410-a643-fba68b97345e
* New net-setup shoudl fix bug #68246.Chris Gianelloni2004-10-201-15/+32
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@11 7bf51bff-881f-0410-a643-fba68b97345e
* Initial wireless configuration additionsChris Gianelloni2004-09-101-19/+48
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@9 7bf51bff-881f-0410-a643-fba68b97345e
* Updated autoconfig and net-setup for upcoming 1.0.4 livecd-tools.Chris Gianelloni2004-07-111-28/+25
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@6 7bf51bff-881f-0410-a643-fba68b97345e
* adding header to net-selectJohn P. Davis2004-03-211-0/+5
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@3 7bf51bff-881f-0410-a643-fba68b97345e
* new livecd-tools packagesJohn P. Davis2004-03-211-0/+47
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@2 7bf51bff-881f-0410-a643-fba68b97345e