mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-01 05:22:36 +07:00
check existence of /etc/os-release
This commit is contained in:
@@ -48,7 +48,8 @@ elif [ "$DISPLAY" ]; then
|
||||
fi
|
||||
|
||||
## Distro
|
||||
. /etc/os-release # a common file that has variables about the distro
|
||||
o=/etc/os-release
|
||||
[ -f $o ] && . $o # a common file that has variables about the distro
|
||||
|
||||
## Memory
|
||||
# loop over lines in /proc/meminfo until it reaches MemTotal,
|
||||
|
||||
Reference in New Issue
Block a user