10 |
[[ -z ${xorg_width} ]] && xorg_width="1024" |
[[ -z ${xorg_width} ]] && xorg_width="1024" |
11 |
[[ -z ${xorg_height} ]] && xorg_width="768" |
[[ -z ${xorg_height} ]] && xorg_width="768" |
12 |
|
|
13 |
if [ -e /etc/os-release ] |
if [ -e @@SYSCONFDIR@@/os-release ] |
14 |
then |
then |
15 |
osversion=$(source /etc/os-release; echo "${ID}-${Version_ID}") |
osversion=$(source @@SYSCONFDIR@@/os-release; echo "${ID}-${Version_ID}") |
16 |
elif [ -e /etc/mageversion ] |
elif [ -e @@SYSCONFDIR@@/mageversion ] |
17 |
then |
then |
18 |
osversion="alx-$(< /etc/mageversion)" |
osversion="alx-$(< @@SYSCONFDIR@@/mageversion)" |
19 |
else |
else |
20 |
osversion="alx-UNKNOWN" |
osversion="alx-UNKNOWN" |
21 |
fi |
fi |