# HG changeset patch # User Christophe Lincoln # Date 1301967345 -7200 # Node ID 167d42c156fae67862b844c1590807e4db23f6d4 # Parent f82057fcce3fa3e203374e1d18bb96850000d0c3 Add support for write-iso in live.cgi with nice select box :-) diff -r f82057fcce3f -r 167d42c156fa live.cgi --- a/live.cgi Tue Apr 05 03:34:47 2011 +0200 +++ b/live.cgi Tue Apr 05 03:35:45 2011 +0200 @@ -19,12 +19,29 @@ TITLE="- Live" # +# Commands executed in Xterm first +# + +case "$QUERY_STRING" in + write-iso=*) + COMPRESSION=${QUERY_STRING#write-iso=} + xterm $XTERM_OPTS \ + -title "write-iso" \ + -e "tazlito writeiso $COMPRESSION" & ;; + *) + continue ;; +esac + +# # Commands # case "$QUERY_STRING" in - gen-distro) - echo "" ;; + create) + # + # Create a flavor file and ISO in option with all settings + # + gettext "TODO" ;; *) # # Default xHTML content @@ -36,6 +53,21 @@

`gettext "Create and manage Live CD or USB SliTaz systems"`

+

`gettext "Write an ISO"`

+

+ `gettext "Writeiso will generate an ISO image of the current filesystem + as is, including the /home directory. It is an easy way to remaster a + SliTaz Live system, you just have to: boot, modify, writeiso."` +

+
+ `gettext "Compression type:"` + + +