--- mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.client.class.in 2014/01/13 15:41:42 2268 +++ mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.client.class.in 2014/01/14 10:34:57 2269 @@ -98,7 +98,7 @@ # set_graphic_resolution ${value} set_graphic_resolution() { - local resolution="$1" + local resolution="${CLASS_ARGV[0]}" local CONFIG local depth [[ -z ${resolution} ]] && help_graphic_resolution && return 1 @@ -126,7 +126,7 @@ # set_graphic_depth ${value} set_graphic_depth() { - local depth="$1" + local depth="${CLASS_ARGV[0]}" local CONFIG [[ -z ${depth} ]] && help_graphic_depth && return 1 @@ -150,7 +150,7 @@ # set_graphic_refresh ${value} set_graphic_refresh() { - local value="$1" + local value="${CLASS_ARGV[0]}" [[ -z ${value} ]] && help_graphic_refresh && return 1 #echo "${value}" > ${MROOT}/${MCORE_CONFIG_PATH}/xorg/refresh @@ -165,7 +165,7 @@ set_graphic_driver() { - local driver="$1" + local driver="${CLASS_ARGV[0]}" local driverdir="@@LIBDIR@@/xorg/modules/drivers" local CONFIG [[ -z ${driver} ]] && help_graphic_driver && return 1 @@ -189,7 +189,7 @@ get_graphic_driver() { - local action="$1" + local action="${CLASS_ARGV[0]}" local driverdir="@@LIBDIR@@/xorg/modules/drivers" local driver local config="${MCORE_CONFIG_PATH}/xorg/device/25-device.conf"