chiark / gitweb /
* Truncate files when writing them (copyup, copydown, etc) (!)
[autopkgtest.git] / xen / readconfig.in
index ee10c20a6f930824c91720a52abde3c44e6d0f9e..cbd3e85be4a6a6c02a9493e18667a3413dfac9b8 100644 (file)
@@ -13,14 +13,6 @@ fail () {
 
 x () { echo "x $*"; "$@"; }
 
-do_udevsettle () {
-       if type udevsettle >/dev/null 2>&1; then
-               udevsettle
-       elif test -x /sbin/udevsettle; then
-               udevsettle
-       fi
-}              
-               
 case "$BASH_VERSION" in
 '')    fail 'scripts using adtxenlvm readconfig must be bash scripts' ;;
 *)     ;;
@@ -75,7 +67,7 @@ cmdline_args () {
                        *) fail "unknown configuration variable \`$var'" ;;
                        esac
 
-                       eval "$var=\"\$value\""
+                       eval "adt_$var=\"\$value\""
                        shift ;;
 
                --)     shift; break ;;