JIVELITE-0.1-0.22.20130326GIT1364065847

Triode, I have tested both squeezelite config and wi-fi config as the
jivelite user. Works for me!


Code:
--------------------
    
  * Thu Mar 28 2013 - 0.1-0.22.20130326git1364065847
  - Add wpa_cli to the sudoers.d config.
  - Patch SetupNetworkingApplet to call wpa_cli via sudo.
  
--------------------



Code:
--------------------
    
  $  cat /etc/sudoers.d/01_jivelite
  jivelite ALL = NOPASSWD:\
  /usr/sbin/csos-ifcfgUpdate,\
  /usr/sbin/csos-keysUpdate,\
  /usr/sbin/csos-squeezeliteConfigUpdate,\
  /usr/bin/systemctl,\
  /usr/sbin/wpa_cli
  
--------------------



Code:
--------------------
    
  $ cat jivelite-wpa_cli.patch
  --- share/jive/applets/SetupNetworking/SetupNetworkingApplet.lua~       
2013-03-26 01:42:31.000000000 +0000
  +++ share/jive/applets/SetupNetworking/SetupNetworkingApplet.lua        
2013-03-28 08:35:22.816732089 +0000
  @@ -213,7 +213,7 @@
  
  
  function _request(self, req, cb)
  -       local cmd = "wpa_cli " .. req
  +       local cmd = "sudo wpa_cli " .. req
  local res = ""
  
  Process(jnt, cmd):read(
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=98190

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to