mirror of
https://github.com/buchtioof/alfred.git
synced 2026-05-02 17:43:27 +02:00
v0.1.3 i use arch btw
This commit is contained in:
parent
fc8caa8ebe
commit
a31408bf31
@ -61,7 +61,7 @@ TOTAL_STORAGE=$(numfmt --to iec $TOTAL_STORAGE)
|
||||
OS=$(lsb_release -d 2>/dev/null | cut -f2 || grep PRETTY_NAME /etc/os-release | cut -d= -f2 | tr -d '"')
|
||||
ARCH=$(uname -m)
|
||||
KERNEL=$(uname -r)
|
||||
HOSTNAME=$(hostname)
|
||||
HOSTNAME=$(uname -n)
|
||||
DEFAULT_IFACE=$(ls /sys/class/net | grep -vE '^(lo|docker|veth|br)' | head -n 1)
|
||||
MAC_ADDRESS=$(cat "/sys/class/net/$DEFAULT_IFACE/address" 2>/dev/null || echo "Unknown-MAC")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user