--- alx-src/trunk/alxconfig-ng/functions/config_x11.sh 2005/03/08 23:02:49 222 +++ alx-src/trunk/alxconfig-ng/functions/config_x11.sh 2005/03/08 23:03:18 223 @@ -1,4 +1,4 @@ -# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_x11.sh,v 1.3 2005-03-08 20:44:32 niro Exp $ +# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_x11.sh,v 1.4 2005-03-08 23:03:18 niro Exp $ # configures the x11 server on the host via mysql db settings get_x11_settings() @@ -7,7 +7,7 @@ # autodetect or not ? if [ $(mysql_command ${SQL_USER} ${SQL_PASS} ${SQL_HOST} ${SQL_DB} \ - "select monitorid from cfg_graphic where serial='${ALX_SERIAL}") -gt 0 ] + "select monitorid from cfg_graphic where serial='${ALX_SERIAL}'") -gt 0 ] then # settings from db @@ -76,7 +76,7 @@ export ALX_MOUSE } -write_x11_config() { +config_x11() { # get our settings from the db get_x11_settings @@ -240,7 +240,7 @@ Auto) device=/dev/mouse;; *) device=/dev/mouse;; esac - + echo " Option \"Device\" \"${device}\"" >> ${xfconfig} echo ' Option "Resolution" "1200"' >> ${xfconfig} [ "${ALX_MOUSE}" = "IMPS/2" ] && echo ' Option "ZAxisMapping" "4 5"' >> ${xfconfig}