tazlito rev 377

live: non root support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 21:56:20 2015 +0200 (2015-04-06)
parents 0c21c98caecb
children 399204d8cc51
files live
line diff
     1.1 --- a/live	Mon Apr 06 12:47:12 2015 +0200
     1.2 +++ b/live	Mon Apr 06 21:56:20 2015 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -cat <<EOT
     1.5 +[ "$REMOTE_USER" == "root" ] && cat <<EOT
     1.6  <li><a data-icon="cd" href="/live.cgi">$(gettext 'Live')</a>
     1.7  	<menu>
     1.8  		<li><a href="/live.cgi?liveusb">$(gettext 'Create a live USB key')</a></li>