-
Notifications
You must be signed in to change notification settings - Fork 166
/
3-network.sh
executable file
·33 lines (29 loc) · 1.23 KB
/
3-network.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
#-------------------------------------------------------------------------
# _ _ __ __ _ _
# /_\ _ _ __| |_ | \/ |__ _| |_(_)__
# / _ \| '_/ _| ' \| |\/| / _` | _| / _|
# /_/ \_\_| \__|_||_|_| |_\__,_|\__|_\__|
# Arch Linux Post Install Setup and Config
#-------------------------------------------------------------------------
echo
echo "INSTALLING NETWORK COMPONENTS"
echo
PKGS=(
'wpa_supplicant' # Key negotiation for WPA wireless networks
'dialog' # Enables shell scripts to trigger dialog boxex
'networkmanager' # Network connection manager
'openvpn' # Open VPN support
'networkmanager-openvpn' # Open VPN plugin for NM
'networkmanager-vpnc' # Open VPN plugin for NM. Probably not needed if networkmanager-openvpn is installed.
'network-manager-applet' # System tray icon/utility for network connectivity
'dhclient' # DHCP client
'libsecret' # Library for storing passwords
)
for PKG in "${PKGS[@]}"; do
echo "INSTALLING: ${PKG}"
sudo pacman -S "$PKG" --noconfirm --needed
done
echo
echo "Done!"
echo