+ azure vpn client fix
This commit is contained in:
19
dots/bin/azurevpnclient_GLib-GIO-CRITICAL_fix.sh
Executable file
19
dots/bin/azurevpnclient_GLib-GIO-CRITICAL_fix.sh
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/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}
|
||||||
Reference in New Issue
Block a user