tazpanel rev 345

hardware.cgi: edit fstab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 02 14:32:56 2013 +0100 (2013-02-02)
parents d2f3ed66f258
children 4a0422a30ff6
files hardware.cgi
line diff
     1.1 --- a/hardware.cgi	Sat Feb 02 14:06:54 2013 +0100
     1.2 +++ b/hardware.cgi	Sat Feb 02 14:32:56 2013 +0100
     1.3 @@ -300,6 +300,12 @@
     1.4  <input type="submit" value="mount / umount" /> -
     1.5  new mount point <input type=text" name="mountpoint" value="/media/usbdisk" />
     1.6  </form>
     1.7 +<h3>$(gettext 'Filesystems table')</h3>
     1.8 +<pre>
     1.9 +$(grep -v ^# /etc/fstab | syntax_highlighter conf)
    1.10 +</pre>
    1.11 +<a class="button" href="index.cgi?file=/etc/fstab&action=edit">
    1.12 +	<img src="$IMAGES/edit.png" />$(gettext 'Manual Edit')</a>
    1.13  EOT
    1.14  
    1.15