# HG changeset patch # User Pascal Bellard # Date 1302636161 -7200 # Node ID 5db1f3648ed892353645d6df9dd13f5df7cf5e59 # Parent 7ac8e561d0a5f12df45a56d7ce0206f994b00b6d live.cgi: add loram tool diff -r 7ac8e561d0a5 -r 5db1f3648ed8 live.cgi --- a/live.cgi Tue Apr 12 04:24:35 2011 +0200 +++ b/live.cgi Tue Apr 12 21:22:41 2011 +0200 @@ -4,8 +4,11 @@ # # Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 # -echo "Content-Type: text/html" -echo "" + + +. /usr/bin/httpd_helper.sh + +header # Common functions from libtazpanel . lib/libtazpanel @@ -24,20 +27,22 @@ # Commands executed in Xterm first # -case "$QUERY_STRING" in - write-iso=*) +case " $(GET) " in + *\ write-iso\ *) comp=${QUERY_STRING#write-iso=} $TERMINAL $TERM_OPTS \ -T "write-iso" \ -e "tazlito writeiso $comp" & ;; - gen-liveusb=*) + *\ gen-liveusb\ *) dev=`httpd -d ${QUERY_STRING#gen-liveusb=}` $TERMINAL $TERM_OPTS \ -T "Tazusb gen-liveusb" \ -e "tazusb gen-liveusb $dev; \ gettext \"ENTER to quit\"; read i" & ;; - *) - continue ;; + *\ loramoutput\ *) + $TERMINAL $TERM_OPTS \ + -T "build loram iso" \ + -e "tazlito build-loram $(GET input) $(GET loramoutput) $(GET type)" & ;; esac # @@ -62,23 +67,7 @@

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

-

`gettext "Write a Live CD"`

-

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

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

`gettext "Live USB"`

`gettext "Generate SliTaz LiveUSB media and boot in RAM! Insert a @@ -102,6 +91,54 @@ + +

`gettext "Write a Live CD"`

+

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

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

`gettext "Live CD tools"`

+ +

`gettext "Convert ISO to loram"`

+

+ `gettext "This command will convert an ISO image of a SliTaz Live CD + to a new ISO image requiring less RAM to run."` +

+
+ + + + + + + + + + + + + + + + +
`gettext "ISO to convert"` +
`gettext "The filesystem is always in RAM"`.
`gettext "The filesystem may be on a small CDROM"`.
`gettext "The filesystem may be on a large CDROM"`.
`gettext "ISO to create"` +
+ +
+ EOT ;; esac