Skip to content

Instantly share code, notes, and snippets.

@buhman
buhman / uefisetup.sh
Last active October 13, 2015 08:07 — forked from Apsu/uefisetup.sh
Arch Linux UEFI Setup
# Gist is stupid and doesn't seem to allow manual selection of syntax highlighting; .sh extension is used for increased readability.
# This is only a guide to show the required steps for successful UEFI + GRUB2 installation
# Many of the choices are examples or assumptions; don't blindly type shit into your machine
# until/unless you at least read the comments around each command
#
# These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions:
# https://wiki.archlinux.org/index.php/UEFI#Archiso
#
# If you're using an actual CD burned from the official Arch ISO, just make sure you've booted it in UEFI mode
[Unit]
Description=Wireless Static IP Connectivity
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-eth0.device
After=sys-subsystem-net-devices-eth0.device
[Service]
Type=oneshot
RemainAfterExit=yes