tazpanel diff tazpanel @ rev 486

libtazpanel: show carrier
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 12 13:24:28 2015 +0200 (2015-05-12)
parents 169f1ccfb613
children f8ff472846c2
line diff
     1.1 --- a/tazpanel	Wed Apr 08 15:32:20 2015 +0300
     1.2 +++ b/tazpanel	Tue May 12 13:24:28 2015 +0200
     1.3 @@ -41,7 +41,6 @@
     1.4    start    Start tazpanel daemon
     1.5    stop     Stop tazpanel daemon
     1.6    restart  Restart tazpanel daemon
     1.7 -  passwd   Changing TazPanel password for root (also, short command -p)
     1.8    <app>    Open TazPanel page in the browser, where <app> is one of:
     1.9             boot, hardware, help, index, installer, live, network, settings, pkgs
    1.10             If <app> is empty, index page will open in the browser.
    1.11 @@ -71,13 +70,6 @@
    1.12  		status ;;
    1.13  	restart)
    1.14  		tazpanel stop; sleep 1; tazpanel start;;
    1.15 -	passwd|-p)
    1.16 -		echo
    1.17 -		_ 'Changing password for TazPanel'
    1.18 -		_n 'New password: ' && read pass
    1.19 -		sed -i "s/\/:root:.*/\/:root:$pass/" $HTTPD_CONF
    1.20 -		_ 'Password changed successfully'
    1.21 -		echo ;;
    1.22  	*)
    1.23  		. /etc/slitaz/applications.conf
    1.24  		USER_CONFIG="$HOME/.config/slitaz/applications.conf"