Skip to content

Instantly share code, notes, and snippets.

@clintar
clintar / xanmod-install.sh
Created May 18, 2021 20:34 — forked from mmstick/xanmod-install.sh
Script for installing xanmod on Pop!_OS
#!/bin/bash
set -e
for field in $(cat /proc/cmdline); do
if [[ "${field}" = root=* ]]; then
UUID=$(echo $field | awk -F= '{print $3}')
break
fi
done