Files
lnx-arch/dots/bin/azurevpnclient_GLib-GIO-CRITICAL_fix.sh
2025-07-12 06:50:07 -05:00

20 lines
299 B
Bash

#!/usr/bin/env bash
# klevstul :: 25.07
this_file_name=`basename "$0"`
echo "<< ${this_file_name} >>"
if [ "$EUID" -ne 0 ]
then echo "error: run as 'root'"
exit
fi
# 1. Set the file to write to
file="/etc/os-release"
# 2. Append text with '>>'
echo "VERSION=\"0\"" >> ${file}
tail ${file}