Advertisement
ezarchproject

cudmnetwork.sh

Jan 25th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.66 KB | None | 0 0
  1. #!/bin/bash
  2. #-------------------------------------------------------------------------------
  3. # Script Created by Vincent - EZ-Arch Project (ezarchproject@gmail.com)
  4. # Distro Sourceforge - https://sourceforge.net/projects/ezarchlinux/
  5. # Distro Dailymotion -   http://www.dailymotion.com/ezarchproject
  6. #
  7. # I shall be using Dailymotion more for the videos instead of Youtube.
  8. #
  9. #-------------------------------------------------------------------------------
  10. #This program is free software: you can redistribute it and/or modify
  11. #it under the terms of the GNU General Public License as published by
  12. #the Free Software Foundation, either version 3 of the License, or
  13. #(at your option) any later version.
  14. #
  15. #This program is distributed in the hope that it will be useful,
  16. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. #GNU General Public License for more details.
  19. #
  20. #You should have received a copy of the GNU General Public License
  21. #along with this program.  If not, see <http://www.gnu.org/licenses/>.
  22. #-------------------------------------------------------------------------------
  23. # Run this script after your first boot with archlinux (as root)
  24. #--------------------------------------------------------------------------------
  25. # Explaination of the Script:
  26. #
  27. #
  28. #
  29. #
  30. ##########################################################################
  31. #
  32. # Old Network Menu for working on this from works computer
  33. #
  34. # "1. Test a network connection on an internet host      
  35. # "2. Test a network connection with a static IP or router
  36. #   print_line
  37. #  "3. Select & configure 1st Network Interface Card       
  38. #  "4. Select & configure 2nd Network Interface Card (If any
  39. #   print_line
  40. #  "5. Copy a Netctrl example file to /etc/netctl & Edit"  
  41. #  "6. Start netctl with a copied file (Selected File:
  42. #  
  43. #   print_line
  44. #  "S.  Bash shell for any manual configurations"
  45. #  "E.  Edit any network related files"
  46. #  "Q.  Quit"
  47. #
  48. #
  49. ######################################################################
  50. #
  51. #
  52. #
  53. #
  54. #
  55.  
  56. MainNWMenu()
  57.  
  58. {
  59.    
  60.     while :
  61.     do
  62.    
  63.     $DIALOG --backtitle "$DISTNAME $DISTVER " --no-shadow \
  64.         --ok-label 'Select' --cancel-label 'Exit' \
  65.         --title "2nd Part installer for LiveFS install" --menu "Select a menu option" 20 78 16 \
  66.         "1" "Generate fstab" \
  67.         "2" "Remove Live FS stuff from Hard Disk" \
  68.         "3" "Set up hostname" \
  69.         "4" "Set up Timezone (Zoneinfo)" \
  70.         "5" "Set up the locales" \
  71.         "6" "Run mkinitcpio (Ramdisk Stuff)" \
  72.         "7" "Root's Password" \
  73.         "8" "Add new user" \
  74.         "9" "Install Boot manager (SysLinux)" 2> $tempfile
  75.        
  76.         NetRetVal=$?
  77.    
  78.    
  79.    
  80.    
  81.    
  82.    
  83.     done
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement