/usr/sbin/net-setup.sh
The primary GUI windows defined in this script are:
1. Main Window (Let's you pick an interface to configure or load a Kernel Module).
2. Configure Network Interface Window
3. Load Module Window
4. Static IP Configuration (Launched from the Configure Network Interface Window)
There is also a GUI window to configure and select wirless profiles. However, this functionality is defined in a separate file located at:
/usr/sbin/wag-profiles.sh
and can be launched independently of net-setup.sh. Hence the wireless profile functionality could be viewed as a separate wizard. When wag-profiles.sh is called from the command line the first function called is showProfileWindw(), which will build and open the profile window. However, when wag-profiles.sh is sourced, as it is in net-setup.sh no GUI windows are opened automaticly. This allows wag-profiles.sh to also be used as a function library as it is in net-setup.sh.
net-set.sh instead directly calls showProfileWindw() when the user clicks on the wireless buton from within the "Configure Network Interface" window.
related threads
Turn net-setup.sh into a function library by s243a (2 Sept 2016)
source
via s243a's github
External Links
net-setup.sh at s243a's pearltrees
Categories
CategoryNetworkWizard