tazpanel diff boot.cgi @ rev 226
update AUTHORS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 19 10:07:04 2012 +0100 (2012-02-19) |
parents | 2b919224c683 |
children | d86789453cb7 |
line diff
1.1 --- a/boot.cgi Mon Apr 18 17:58:20 2011 +0100 1.2 +++ b/boot.cgi Sun Feb 19 10:07:04 2012 +0100 1.3 @@ -51,7 +51,7 @@ 1.4 # 1.5 # Everything until user login 1.6 # 1.7 - # Start and stop a daemon. I think we dont need restart since 2 1.8 + # Start and stop a daemon. I think we don't need a restart since 2 1.9 # clicks and you are done 1.10 . /etc/rcS.conf 1.11 xhtml_header 1.12 @@ -76,7 +76,7 @@ 1.13 ps ww | sed "1p;/^ *${daemon#pid=} /!d" 1.14 echo "</pre>" ;; 1.15 esac 1.16 - # Demon list 1.17 + # Daemon list 1.18 table_start 1.19 cat << EOT 1.20 <thead> 1.21 @@ -128,7 +128,7 @@ 1.22 zcip) 1.23 gettext "<td>Manage a ZeroConf IPv4 link-local address</td>" ;; 1.24 *) 1.25 - # Descrition from receipt 1.26 + # Description from receipt 1.27 [ -d "$LOCALSTATE/installed/$name" ] && pkg=$name 1.28 [ -d "$LOCALSTATE/installed/${name%d}" ] && pkg=${name%d} 1.29 [ -d "$LOCALSTATE/installed/${name}-pam" ] && pkg=${name}-pam 1.30 @@ -139,14 +139,14 @@ 1.31 echo "<td>----</td>" 1.32 fi ;; 1.33 esac 1.34 - # Attemp to get daemon status 1.35 + # Attempt to get daemon status 1.36 pidfile=`find /var/run -name *$name*.pid` 1.37 [ "$pidfile" ] && pid=`cat $pidfile` 1.38 # dbus 1.39 [ -f /var/run/${name}/pid ] && pid=`cat /var/run/${name}/pid` 1.40 # apache 1.41 [ "$name" = "apache" ] && pid=`cat /var/run/$name/httpd.pid` 1.42 - # Pidof works for many daemon 1.43 + # Pidof works for many daemons 1.44 [ "$pid" ] || pid=`pidof $name` 1.45 if [ "$pid" ]; then 1.46 cat << EOT