Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #-------------------------------------------------------------------------------
- # Script Created by Vincent - EZ-Arch Project (ezarchproject@gmail.com)
- # Distro Sourceforge - https://sourceforge.net/projects/ezarchlinux/
- # Distro Dailymotion - http://www.dailymotion.com/ezarchproject
- #
- # I shall be using Dailymotion more for the videos instead of Youtube.
- #
- #-------------------------------------------------------------------------------
- #This program is free software: you can redistribute it and/or modify
- #it under the terms of the GNU General Public License as published by
- #the Free Software Foundation, either version 3 of the License, or
- #(at your option) any later version.
- #
- #This program is distributed in the hope that it will be useful,
- #but WITHOUT ANY WARRANTY; without even the implied warranty of
- #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- #GNU General Public License for more details.
- #
- #You should have received a copy of the GNU General Public License
- #along with this program. If not, see <http://www.gnu.org/licenses/>.
- #-------------------------------------------------------------------------------
- # Run this script after your first boot with archlinux (as root)
- #--------------------------------------------------------------------------------
- # Explaination of the Script:
- #
- #
- #
- #
- ##########################################################################
- #
- # Old Network Menu for working on this from works computer
- #
- # "1. Test a network connection on an internet host
- # "2. Test a network connection with a static IP or router
- # print_line
- # "3. Select & configure 1st Network Interface Card
- # "4. Select & configure 2nd Network Interface Card (If any
- # print_line
- # "5. Copy a Netctrl example file to /etc/netctl & Edit"
- # "6. Start netctl with a copied file (Selected File:
- #
- # print_line
- # "S. Bash shell for any manual configurations"
- # "E. Edit any network related files"
- # "Q. Quit"
- #
- #
- ######################################################################
- #
- #
- #
- #
- #
- MainNWMenu()
- {
- while :
- do
- $DIALOG --backtitle "$DISTNAME $DISTVER " --no-shadow \
- --ok-label 'Select' --cancel-label 'Exit' \
- --title "2nd Part installer for LiveFS install" --menu "Select a menu option" 20 78 16 \
- "1" "Generate fstab" \
- "2" "Remove Live FS stuff from Hard Disk" \
- "3" "Set up hostname" \
- "4" "Set up Timezone (Zoneinfo)" \
- "5" "Set up the locales" \
- "6" "Run mkinitcpio (Ramdisk Stuff)" \
- "7" "Root's Password" \
- "8" "Add new user" \
- "9" "Install Boot manager (SysLinux)" 2> $tempfile
- NetRetVal=$?
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement