tazpanel diff boot.cgi @ rev 481

Tiny edits
author Paul Issott <paul@slitaz.org>
date Sun May 10 11:51:03 2015 +0100 (2015-05-10)
parents 836e45b5567b
children 2874c858a6b2
line diff
     1.1 --- a/boot.cgi	Thu Apr 30 02:25:59 2015 +0300
     1.2 +++ b/boot.cgi	Sun May 10 11:51:03 2015 +0100
     1.3 @@ -179,13 +179,16 @@
     1.4  				httpd)
     1.5  					_ 'Small and fast web server with CGI support' ;;
     1.6  				ntpd)
     1.7 +					cfg="man|help|edit::/etc/ntp.conf|options"
     1.8  					_ 'Network time protocol daemon' ;;
     1.9  				ftpd)
    1.10  					cfg="man|help|edit::/etc/inetd.conf"
    1.11  					_ 'Anonymous FTP server' ;;
    1.12  				udhcpd)
    1.13 +					cfg="man|help|edit|options"
    1.14  					_ 'Busybox DHCP server' ;;
    1.15  				syslogd|klogd)
    1.16 +					cfg="man|help|edit::/etc/syslog.conf|options"
    1.17  					_ 'Linux Kernel log daemon' ;;
    1.18  				crond)
    1.19  					# FIXME crontab
    1.20 @@ -194,8 +197,11 @@
    1.21  					cfg="man|help|edit|options::-d"
    1.22  					_ 'Small static DNS server daemon' ;;
    1.23  				tftpd)
    1.24 -					cfg="man|help|edit::/etc/inetd.conf"
    1.25 +					cfg="man|help|edit::/etc/inetd.conf|options"
    1.26  					_ 'Transfer a file on tftp request' ;;
    1.27 +				lpd)
    1.28 +					cfg="man|help|options"
    1.29 +					_ 'Printer daemon' ;;
    1.30  				inetd)
    1.31  					_ 'Listen for network connections and launch programs' ;;
    1.32  				zcip)
    1.33 @@ -236,7 +242,7 @@
    1.34  					case "$1" in
    1.35  					edit)
    1.36  						cat <<EOT
    1.37 -<a href="index.cgi?file=${3:-/etc/$name.conf}&amp;action=edit" title="${2:-$name Configuration}" data-img="conf"></a>
    1.38 +<a href="index.cgi?file=${3:-/etc/$name.conf}&amp;action=edit" title="${2:-$name Configuration} in ${3:-/etc/$name.conf}" data-img="conf"></a>
    1.39  EOT
    1.40  						;;
    1.41  					options)