1 |
|
# $Id$ |
2 |
# configures the x11 server on the host via mysql db settings |
# configures the x11 server on the host via mysql db settings |
3 |
|
|
4 |
#delme settings |
config_display_manager() |
|
SQL_USER=alx_install |
|
|
SQL_PASS=@lx |
|
|
SQL_HOST=128.20.41.110 |
|
|
SQL_DB=alx_web |
|
|
ALX_SERIAL=10 |
|
|
|
|
|
get_x11_settings() |
|
5 |
{ |
{ |
6 |
local x i all DB_X11SETTINGS |
# setup slim |
7 |
|
cat ${ALX_SKELETONS}/slim/slim.conf > /etc/slim.conf |
8 |
# autodetect or not ? |
sed -i "s:@@USERNAME@@:${ALX_UNPRIV_USER}:" /etc/slim.conf |
|
if [ $(mysql_command ${SQL_USER} ${SQL_PASS} ${SQL_HOST} ${SQL_DB} \ |
|
|
"select monitorid from cfg_graphic where serial='${ALX_SERIAL}") -gt 0 ] |
|
|
then |
|
|
# settings from db |
|
|
|
|
|
all=$(mysql_command ${SQL_USER} ${SQL_PASS} ${SQL_HOST} ${SQL_DB} \ |
|
|
"select cfg_graphic.module, |
|
|
cfg_graphic.resolution, |
|
|
cfg_graphic.depth, |
|
|
list_monitors.vendor, |
|
|
list_monitors.model, |
|
|
list_monitors.hsync, |
|
|
list_monitors.vrefresh |
|
|
from list_monitors |
|
|
inner join cfg_graphic |
|
|
on cfg_graphic.monitorid=list_monitors.id |
|
|
and cfg_graphic.serial='${ALX_SERIAL}';") |
|
|
|
|
|
echo "DEBUG: ${all}" |
|
9 |
|
|
10 |
#split'em up and put 'em in an array |
# windowmanager |
11 |
declare -i i=0 |
echo "exec startfluxbox" > ${ALX_UNPRIV_HOME}/.xinitrc |
|
for x in ${all} |
|
|
do |
|
|
DB_X11SETTINGS[${i}]="${x}" |
|
|
((i++)) |
|
|
done |
|
|
|
|
|
# and now put them in usable var names and export them systemwide |
|
|
export ALX_MODULE="${DB_X11SETTINGS[0]:=NULL}" |
|
|
export ALX_RESOLUTION="${DB_X11SETTINGS[1]:=NULL}" |
|
|
export ALX_DEPTH="${DB_X11SETTINGS[2]:=NULL}" |
|
|
export ALX_VENDOR="${DB_X11SETTINGS[3]:=NULL}" |
|
|
export ALX_MODEL="${DB_X11SETTINGS[4]:=NULL}" |
|
|
export ALX_HSYNC="${DB_X11SETTINGS[5]:=NULL}" |
|
|
export ALX_VREF="${DB_X11SETTINGS[6]:=NULL}" |
|
|
else |
|
|
# autodetect |
|
|
all=$(mysql_command ${SQL_USER} ${SQL_PASS} ${SQL_HOST} ${SQL_DB} \ |
|
|
"select module, |
|
|
resolution, |
|
|
depth |
|
|
from cfg_graphic where serial='${ALX_SERIAL}'") |
|
|
|
|
|
echo "DEBUG: ${all}" |
|
|
|
|
|
#split'em up and put 'em in an array |
|
|
declare -i i=0 |
|
|
for x in ${all} |
|
|
do |
|
|
DB_X11SETTINGS[${i}]="${x}" |
|
|
((i++)) |
|
|
done |
|
|
|
|
|
# and now put them in usable var names and export them systemwide |
|
|
export ALX_MODULE="${DB_X11SETTINGS[0]:=NULL}" |
|
|
export ALX_RESOLUTION="${DB_X11SETTINGS[1]:=NULL}" |
|
|
export ALX_DEPTH="${DB_X11SETTINGS[2]:=NULL}" |
|
|
export ALX_VENDOR="Autodetected" |
|
|
export ALX_MODEL="Monitor" |
|
|
export ALX_HSYNC="auto" |
|
|
export ALX_VREF="auto" |
|
|
fi |
|
|
|
|
|
#which input devices are we using ? |
|
|
ALX_MOUSE=$(mysql_command ${SQL_USER} ${SQL_PASS} ${SQL_HOST} ${SQL_DB} \ |
|
|
"select mouse from cfg_input where serial='${ALX_SERIAL}'") |
|
|
export ALX_MOUSE |
|
12 |
} |
} |
13 |
|
|
14 |
write_x11_config() { |
config_x11() |
15 |
|
{ |
16 |
|
local has_tigervnc |
17 |
|
local CONFIG |
18 |
|
|
19 |
# get our settings from the db |
# get our settings from the db |
20 |
get_x11_settings |
evaluate_table cfg_graphic |
21 |
|
evaluate_table cfg_input |
|
# DEBUG |
|
|
echo "MODULE: '${ALX_MODULE}'" |
|
|
echo "RESOLUTION: '${ALX_RESOLUTION}'" |
|
|
echo "DEPTH: '${ALX_DEPTH=}'" |
|
|
echo "VENDOR: '${ALX_VENDOR}'" |
|
|
echo "MODEL: '${ALX_MODEL}'" |
|
|
echo "HSYNC: '${ALX_HSYNC}'" |
|
|
echo "VREF: '${ALX_VREF}'" |
|
|
echo "MOUSE: '${ALX_MOUSE}'" |
|
|
|
|
|
local xserver |
|
|
local xfconfig |
|
|
local HAS_VNC |
|
|
|
|
|
#xfree or xorg ? |
|
|
xserver="$(readlink /usr/X11R6/bin/X)" |
|
|
|
|
|
case ${xserver} in |
|
|
Xorg) |
|
|
xfconfig=/etc/X11/xorg.conf |
|
|
;; |
|
|
XFree86) |
|
|
xfconfig=/etc/X11/XF86Config |
|
|
;; |
|
|
*) |
|
|
echo " Unkown xserver. aborting." |
|
|
exit 1 |
|
|
;; |
|
|
esac |
|
22 |
|
|
23 |
#got we vnc support ? |
# setup displaymanager |
24 |
if [ -f /usr/X11R6/lib/modules/vnc.so ] |
config_display_manager |
25 |
|
|
26 |
|
# got we vnc support ? |
27 |
|
if [ -f /usr/lib/xorg/modules/extensions/libvnc.so ] |
28 |
then |
then |
29 |
HAS_VNC="yes" |
has_tigervnc="yes" |
30 |
else |
else |
31 |
HAS_VNC="no" |
has_tigervnc="no" |
32 |
fi |
fi |
33 |
|
|
34 |
#show which server we use |
# show which server we use |
35 |
echo -en ${COLOREDSTAR}"Using '${xserver}' as x11-server " |
echo -en ${COLOREDSTAR}"Configuring Xorg x11-server " |
36 |
|
|
37 |
#show if we have vnc |
# show if we have vnc |
38 |
if [ "${HAS_VNC}" = "yes" ] |
if [[ ${has_tigervnc} = yes ]] |
39 |
then |
then |
40 |
echo "with vnc enabled ..." |
echo "with tigervnc enabled ..." |
41 |
else |
else |
42 |
echo "..." |
echo "..." |
43 |
fi |
fi |
44 |
|
|
45 |
#create a new clear xfconfig file |
# set_input_keyboard |
46 |
echo '# Generated with hwdetect, part of Magellan-Linux initscripts.' > ${xfconfig} |
CONFIG="/etc/X11/xorg.conf.d/25-layout.conf" |
47 |
echo '' >> ${xfconfig} |
clearconfig |
48 |
|
addconfig 'Section "InputClass"' |
49 |
#write modules |
addconfig ' Identifier "keyboard layout"' |
50 |
echo '' >> ${xfconfig} |
addconfig ' MatchIsKeyboard "on"' |
51 |
echo 'Section "Module"' >> ${xfconfig} |
addconfig ' Option "XkbLayout" "de"' |
52 |
echo ' Load "dbe"' >> ${xfconfig} |
addconfig 'EndSection' |
53 |
echo ' SubSection "extmod"' >> ${xfconfig} |
|
54 |
echo ' Option "omit xfree86-dga"' >> ${xfconfig} |
# graphic driver |
55 |
echo ' EndSubSection' >> ${xfconfig} |
CONFIG="/etc/X11/xorg.conf.d/25-device.conf" |
56 |
echo ' Load "type1"' >> ${xfconfig} |
clearconfig |
57 |
echo ' Load "speedo"' >> ${xfconfig} |
addconfig 'Section "Device"' |
58 |
echo ' Load "freetype"' >> ${xfconfig} |
addconfig ' Identifier "Card0"' |
59 |
echo '# Load "xtt"' >> ${xfconfig} |
addconfig " Driver \"${cfg_graphic_module}\"" |
60 |
echo '# Load "glx"' >> ${xfconfig} |
addconfig 'EndSection' |
61 |
echo ' Load "dri"' >> ${xfconfig} |
|
62 |
|
# vnc module |
63 |
[ "${HAS_VNC}" = "yes" ] && echo ' Load "vnc"' >> ${xfconfig} |
if [[ ${has_tigervnc} = yes ]] |
64 |
|
then |
65 |
echo 'EndSection' >> ${xfconfig} |
CONFIG="/etc/X11/xorg.conf.d/25-module.conf" |
66 |
|
clearconfig |
67 |
#fonts |
addconfig 'Section "Module"' |
68 |
echo '' >> ${xfconfig} |
addconfig ' Load "vnc"' |
69 |
echo 'Section "Files"' >> ${xfconfig} |
addconfig 'EndSection' |
70 |
echo ' RgbPath "/usr/X11R6/lib/X11/rgb"' >> ${xfconfig} |
fi |
71 |
|
|
72 |
case ${xserver} in |
# monitor |
73 |
Xorg) |
CONFIG="/etc/X11/xorg.conf.d/25-monitor.conf" |
74 |
echo ' FontPath "/usr/share/fonts/local/"' >> ${xfconfig} |
clearconfig |
75 |
echo ' FontPath "/usr/share/fonts/misc/"' >> ${xfconfig} |
addconfig 'Section "Monitor"' |
76 |
echo ' FontPath "/usr/share/fonts/75dpi/:unscaled"' >> ${xfconfig} |
addconfig ' Identifier "Monitor0"' |
77 |
echo ' FontPath "/usr/share/fonts/100dpi/:unscaled"' >> ${xfconfig} |
addconfig ' Option "DPMS"' |
78 |
echo ' #prevents slow startup when disabled -> speedo, type1' >> ${xfconfig} |
|
79 |
echo ' #FontPath "/usr/share/fonts/Speedo/"' >> ${xfconfig} |
# add hsync, vrefresh |
80 |
echo ' #FontPath "/usr/share/fonts/Type1/"' >> ${xfconfig} |
if [[ -x /sbin/ddcxinfo-knoppix ]] |
81 |
echo ' FontPath "/usr/share/fonts/TrueType/"' >> ${xfconfig} |
then |
82 |
echo ' FontPath "/usr/share/fonts/freefont/"' >> ${xfconfig} |
local hsync="$(ddcxinfo-knoppix -hsync)" |
83 |
echo ' FontPath "/usr/share/fonts/75dpi/"' >> ${xfconfig} |
local vsync="$(ddcxinfo-knoppix -vsync)" |
84 |
echo ' FontPath "/usr/share/fonts/100dpi/"' >> ${xfconfig} |
# fallback |
85 |
;; |
[[ ${hsync} = 0-0 ]] && hsync="28-96" |
86 |
XFree86) |
[[ ${vsync} = 0-0 ]] && vsync="50-60" |
87 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/local/"' >> ${xfconfig} |
|
88 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/misc/"' >> ${xfconfig} |
addconfig |
89 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"' >> ${xfconfig} |
addconfig " HorizSync ${hsync}" |
90 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"' >> ${xfconfig} |
addconfig " VertRefresh ${vsync}" |
91 |
echo ' #prevents slow startup when disabled -> speedo, type1' >> ${xfconfig} |
fi |
92 |
echo ' #FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"' >> ${xfconfig} |
|
93 |
echo ' #FontPath "/usr/X11R6/lib/X11/fonts/Type1/"' >> ${xfconfig} |
# add cvt modelines |
94 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"' >> ${xfconfig} |
addconfig |
95 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/freefont/"' >> ${xfconfig} |
local cvt="/usr/bin/cvt" |
96 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"' >> ${xfconfig} |
local modeline |
97 |
echo ' FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"' >> ${xfconfig} |
modeline=$("${cvt}" "${cfg_graphic_resolution%x*}" "${cfg_graphic_resolution#*x}" "${cfg_graphic_refresh_rate}" | sed -e 's:^:\t:g' -e 's:_.*\":\":') |
98 |
;; |
addconfig "${modeline}" |
99 |
esac |
# add ddcxinfo-knoppix modelines (fallback) |
100 |
|
if [[ -x /sbin/ddcxinfo-knoppix ]] |
101 |
echo '# ModulePath "/usr/X11R6/lib/modules"' >> ${xfconfig} |
then |
102 |
echo 'EndSection' >> ${xfconfig} |
addconfig |
103 |
|
addconfig $(ddcxinfo-knoppix -modelines) |
104 |
#server flags |
fi |
105 |
echo '' >> ${xfconfig} |
addconfig 'EndSection' |
106 |
echo 'Section "ServerFlags"' >> ${xfconfig} |
|
107 |
echo '# Option "DontVTSwitch"' >> ${xfconfig} |
# screen |
108 |
echo '# Option "DontZap"' >> ${xfconfig} |
CONFIG="/etc/X11/xorg.conf.d/25-screen.conf" |
109 |
echo '# Option "Dont Zoom"' >> ${xfconfig} |
clearconfig |
110 |
echo 'EndSection' >> ${xfconfig} |
addconfig 'Section "Screen"' |
111 |
|
addconfig ' Identifier "Screen0"' |
112 |
#keyboard |
addconfig ' Monitor "Monitor0"' |
113 |
echo '' >> ${xfconfig} |
addconfig " DefaultDepth ${cfg_graphic_depth}" |
114 |
echo 'Section "InputDevice"' >> ${xfconfig} |
addconfig ' SubSection "Display"' |
115 |
echo ' Identifier "Keyboard1"' >> ${xfconfig} |
addconfig " Depth ${cfg_graphic_depth}" |
116 |
|
addconfig " Modes \"${cfg_graphic_resolution}\"" |
117 |
case ${xserver} in |
addconfig ' ViewPort 0 0' |
118 |
Xorg) |
addconfig ' EndSubSection' |
119 |
echo ' Driver "kbd"' >> ${xfconfig} |
# vnc auth |
120 |
;; |
if [[ ${has_tigervnc} = yes ]] |
121 |
XFree86) |
then |
122 |
echo ' Driver "Keyboard"' >> ${xfconfig} |
addconfig ' Option "SecurityTypes" "VncAuth"' |
123 |
;; |
addconfig ' Option "UserPasswdVerifier" "VncAuth"' |
124 |
esac |
addconfig ' Option "PasswordFile" "/root/.vnc/passwd"' |
125 |
|
fi |
126 |
echo ' Option "AutoRepeat" "500 30"' >> ${xfconfig} |
addconfig 'EndSection' |
127 |
echo '# Option "Xleds" "1 2 3"' >> ${xfconfig} |
|
128 |
|
# disable screen blanks, use xscreensaver for it |
129 |
case ${xserver} in |
CONFIG="/etc/X11/xorg.conf.d/25-server.conf" |
130 |
Xorg) |
clearconfig |
131 |
echo ' Option "XkbRules" "xorg"' >> ${xfconfig} |
addconfig 'Section "ServerFlags"' |
132 |
;; |
addconfig ' Option "BlankTime" "0"' |
133 |
XFree86) |
addconfig ' Option "StandbyTime" "0"' |
134 |
echo ' Option "XkbRules" "xfree86"' >> ${xfconfig} |
addconfig ' Option "SuspendTime" "0"' |
135 |
;; |
addconfig ' Option "OffTime" "0"' |
136 |
esac |
addconfig 'EndSection' |
137 |
|
|
138 |
echo ' Option "XkbModel" "pc104"' >> ${xfconfig} |
# fixes |
139 |
echo ' Option "XkbLayout" "de"' >> ${xfconfig} |
# disable LVDS-1 on zotacs or enable it if hdmi was requested |
140 |
echo 'EndSection' >> ${xfconfig} |
if [[ $(alx-hwdetection system) = zotac ]] |
141 |
|
then |
142 |
#mouse |
CONFIG="/etc/X11/xorg.conf.d/30-fix-zotac.conf" |
143 |
echo '' >> ${xfconfig} |
clearconfig |
144 |
echo 'Section "InputDevice"' >> ${xfconfig} |
addconfig 'Section "Monitor"' |
145 |
echo ' Identifier "Mouse1"' >> ${xfconfig} |
addconfig ' Identifier "LVDS1"' |
146 |
echo ' Driver "mouse"' >> ${xfconfig} |
if [[ ${cfg_graphic_hdmi} = enable ]] |
147 |
echo " Option \"Protocol\" \"${ALX_MOUSE}\"" >> ${xfconfig} |
then |
148 |
|
# add cvt modelines |
149 |
local device |
addconfig |
150 |
case ${ALX_MOUSE} in |
local cvt="/usr/bin/cvt" |
151 |
IMPS/2|PS/2) device=/dev/psaux;; |
local modeline |
152 |
Auto) device=/dev/mouse;; |
modeline=$("${cvt}" "${cfg_graphic_resolution%x*}" "${cfg_graphic_resolution#*x}" "${cfg_graphic_refresh_rate}" | sed -e 's:^:\t:g' -e 's:_.*\":\":') |
153 |
*) device=/dev/mouse;; |
addconfig "${modeline}" |
154 |
esac |
else |
155 |
|
addconfig ' Option "Ignore" "True"' |
156 |
echo ' Option "Resolution" "1200"' >> ${xfconfig} |
fi |
157 |
|
addconfig 'EndSection' |
|
[ "${ALX_MOUSE}" = "IMPS/2" ] && echo ' Option "ZAxisMapping" "4 5"' >> ${xfconfig} |
|
|
|
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
|
|
|
#vnc keyboard && mouse |
|
|
if [ "${HAS_VNC}" = "yes" ] |
|
|
then |
|
|
echo '' >> ${xfconfig} |
|
|
echo 'Section "InputDevice"' >> ${xfconfig} |
|
|
echo ' Identifier "vncKeyboard"' >> ${xfconfig} |
|
|
echo ' Driver "rfbkeyb"' >> ${xfconfig} |
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
|
|
|
echo '' >> ${xfconfig} |
|
|
echo 'Section "InputDevice"' >> ${xfconfig} |
|
|
echo ' Identifier "vncMouse"' >> ${xfconfig} |
|
|
echo ' Driver "rfbmouse"' >> ${xfconfig} |
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
fi |
|
|
|
|
|
|
|
|
#monitor |
|
|
if [ -x "/sbin/ddcxinfo-knoppix" ] && |
|
|
[ "${ALX_HSYNC}" = "auto" ] || |
|
|
[ "${ALX_VREF}" = "auto" ] |
|
|
then |
|
|
ddcxinfo-knoppix -monitor >> ${xfconfig} |
|
158 |
else |
else |
159 |
echo '' >> ${xfconfig} |
# clear this file |
160 |
echo "# Monitor: ${ALX_VENDOR} ${ALX_MODEL}" >> ${xfconfig} |
if [ -f /etc/X11/xorg.conf.d/30-fix-zotac.conf ] |
161 |
echo 'Section "Monitor"' >> ${xfconfig} |
then |
162 |
echo ' Identifier "Monitor0"' >> ${xfconfig} |
rm /etc/X11/xorg.conf.d/30-fix-zotac.conf |
163 |
echo " HorizSync ${ALX_HSYNC}" >> ${xfconfig} |
fi |
|
echo " VertRefresh ${ALX_VREF}" >> ${xfconfig} |
|
|
echo ' Option "DPMS"' >> ${xfconfig} |
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
fi |
|
|
|
|
|
#vga |
|
|
echo '' >> ${xfconfig} |
|
|
echo 'Section "Device"' >> ${xfconfig} |
|
|
echo ' Identifier "vga0"' >> ${xfconfig} |
|
|
echo " Driver \"${ALX_MODULE}\"" >> ${xfconfig} |
|
|
|
|
|
#vnc server options |
|
|
if [ "${HAS_VNC}" = "yes" ] |
|
|
then |
|
|
echo '' >> ${xfconfig} |
|
|
echo ' # rfb options' >> ${xfconfig} |
|
|
echo ' Option "rfbauth" "/root/.vnc/passwd"' >> ${xfconfig} |
|
|
echo ' Option "rfbport" "5900"' >> ${xfconfig} |
|
|
echo ' #Option "nevershared"' >> ${xfconfig} |
|
|
echo ' Option "alwaysshared"' >> ${xfconfig} |
|
|
echo ' Option "dontdisconnect"' >> ${xfconfig} |
|
|
echo ' Option "httpdir" "/usr/share/vnc/classes"' >> ${xfconfig} |
|
|
echo ' Option "httpport" "5800"' >> ${xfconfig} |
|
|
echo ' # Option "useraccept"' >> ${xfconfig} |
|
|
echo ' Option "usevnc"' >> ${xfconfig} |
|
|
echo ' # Option "localhost"' >> ${xfconfig} |
|
|
echo ' # Option "interface" "192.168.0.1"' >> ${xfconfig} |
|
|
echo ' # Option "viewonly"' >> ${xfconfig} |
|
|
echo ' # Option "loginauth"' >> ${xfconfig} |
|
|
echo '' >> ${xfconfig} |
|
|
fi |
|
|
|
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
|
|
|
#screens |
|
|
echo '' >> ${xfconfig} |
|
|
echo 'Section "Screen"' >> ${xfconfig} |
|
|
echo ' Identifier "Screen 1"' >> ${xfconfig} |
|
|
echo ' Device "vga0"' >> ${xfconfig} |
|
|
echo ' Monitor "Monitor0"' >> ${xfconfig} |
|
|
echo " DefaultDepth ${ALX_DEPTH}" >> ${xfconfig} |
|
|
echo ' Subsection "Display"' >> ${xfconfig} |
|
|
echo " Depth ${ALX_DEPTH}" >> ${xfconfig} |
|
|
echo " Modes \"${ALX_RESOLUTION}\"" >> ${xfconfig} |
|
|
echo ' ViewPort 0 0' >> ${xfconfig} |
|
|
echo ' EndSubsection' >> ${xfconfig} |
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
|
|
|
#server layout |
|
|
echo '' >> ${xfconfig} |
|
|
echo 'Section "ServerLayout"' >> ${xfconfig} |
|
|
echo ' Identifier "Simple Layout"' >> ${xfconfig} |
|
|
echo ' Screen "Screen 1"' >> ${xfconfig} |
|
|
echo ' InputDevice "Mouse1" "CorePointer"' >> ${xfconfig} |
|
|
echo ' InputDevice "Keyboard1" "CoreKeyboard"' >> ${xfconfig} |
|
|
|
|
|
#load vnc keyboard && mouse |
|
|
if [ "${HAS_VNC}" = "yes" ] |
|
|
then |
|
|
echo ' InputDevice "vncMouse" "ExtraPointer"' >> ${xfconfig} |
|
|
echo ' InputDevice "vncKeyboard" "ExtraKeyboard"' >> ${xfconfig} |
|
164 |
fi |
fi |
|
|
|
|
echo 'EndSection' >> ${xfconfig} |
|
|
|
|
|
#dri (here disabled, use default of xserver) |
|
|
echo '' >> ${xfconfig} |
|
|
echo '# Section "DRI"' >> ${xfconfig} |
|
|
echo '# Mode 0666' >> ${xfconfig} |
|
|
echo '# EndSection' >> ${xfconfig} |
|
165 |
} |
} |
|
|
|