summaryrefslogtreecommitdiff
path: root/auto/kanotix
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-02-16 09:47:01 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-02-16 10:44:02 +0100
commit24fbdd0aa2dddd72016a0608ba23b178dd995509 (patch)
tree1edc362e464af7b15e0a2063a4d9345315e6250a /auto/kanotix
parent1905b62b681f4bdd1e407729c81d4b5564486b1e (diff)
downloadkanotix-24fbdd0aa2dddd72016a0608ba23b178dd995509.zip
kanotix-24fbdd0aa2dddd72016a0608ba23b178dd995509.tar.gz
added gfxoverlay auto script
Diffstat (limited to 'auto/kanotix')
-rwxr-xr-xauto/kanotix10
1 files changed, 10 insertions, 0 deletions
diff --git a/auto/kanotix b/auto/kanotix
index 8588976..aee291f 100755
--- a/auto/kanotix
+++ b/auto/kanotix
@@ -10,6 +10,7 @@ Additional Options for Kanotix:
[--include-nvidia true|false]
[--tmpfs true|false]
[--tmpfs-options OPTIONS]
+ [--gfxoverlays true|false]
eof
}
@@ -21,6 +22,7 @@ write_kanotix_config()
[ -z "${LB_KANOTIX_TMPFS}" ] && LB_KANOTIX_TMPFS="false"
[ -z "${LB_KANOTIX_TMPFS_OPTIONS}" ] && [ -f tmpfs/options ] && LB_KANOTIX_TMPFS_OPTIONS="$(<tmpfs/options)"
[ -z "${LB_KANOTIX_TMPFS_OPTIONS}" ] && LB_KANOTIX_TMPFS_OPTIONS="defaults"
+[ -z "${LB_KANOTIX_GFXOVERLAYS}" ] && LB_KANOTIX_GFXOVERLAYS="false"
cat >config/kanotix << EOF
# config/kanotix - additional options for Kanotix
@@ -36,6 +38,10 @@ LB_KANOTIX_TMPFS="${LB_KANOTIX_TMPFS}"
# (Default: ${LB_KANOTIX_TMPFS_OPTIONS})
LB_KANOTIX_TMPFS_OPTIONS="${LB_KANOTIX_TMPFS_OPTIONS}"
+# \$LB_KANOTIX_GFXOVERLAYS: automatically build gfxoverlays and include them into binary
+# (Default: ${LB_KANOTIX_GFXOVERLAYS})
+LB_KANOTIX_GFXOVERLAYS="${LB_KANOTIX_GFXOVERLAYS}"
+
EOF
grep -q ". config/kanotix" config/all 2>/dev/null || echo ". config/kanotix" >> config/all
}
@@ -57,6 +63,10 @@ do
LB_KANOTIX_TMPFS_OPTIONS="$2"
shift
;;
+ --gfxoverlays)
+ LB_KANOTIX_GFXOVERLAYS="$2"
+ shift
+ ;;
--help|-h)
lb config noauto --help
usage