tazpanel diff index.cgi @ rev 75
Add SHell script colored sytax as seen in boot for /etc/init.d/local.sh
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 12 03:52:19 2011 +0200 (2011-04-12) |
parents | e4a7503f7efd |
children | 7ac8e561d0a5 |
line diff
1.1 --- a/index.cgi Tue Apr 12 03:36:52 2011 +0200 1.2 +++ b/index.cgi Tue Apr 12 03:52:19 2011 +0200 1.3 @@ -50,6 +50,8 @@ 1.4 case "$WANT" in 1.5 *.conf|*.lst) 1.6 cat $WANT | syntax_highlighter conf ;; 1.7 + *.sh|*.cgi) 1.8 + cat $WANT | syntax_highlighter sh ;; 1.9 *) 1.10 cat $WANT ;; 1.11 esac