added sleep in /usr/bin file
This commit is contained in:
@@ -30,11 +30,13 @@ When you use gnome, you need to switch to Xord by using default session "Gnome w
|
||||
If there is no Connection detectable on the apple product. Try:
|
||||
<pre>sudo gnome-script.sh</pre>
|
||||
in the Application Folder.
|
||||
If you want to have this permanently, add "ALL ALL=(ALL:ALL) NOPASSWD: /usr/bin/airplayserver" to the very end of the sudoer file. You can access it by:
|
||||
If you want to have this permanently, type:
|
||||
<pre>sudo visudo</pre>
|
||||
Add /usr/bin/airplayserver by:
|
||||
and add this to the very end of the file:
|
||||
<pre>ALL ALL=(ALL:ALL) NOPASSWD: /usr/bin/airplayserver"</pre>
|
||||
Now we need the /usr/bin/airplayserver file. Create this file:
|
||||
<pre>sudo nano /usr/bin/airplayserver</pre>
|
||||
with this:
|
||||
and add this content:
|
||||
<pre>#!/bin/bash
|
||||
sudo $APPDIR/gnome-script.sh
|
||||
sleep 1 #gives the services time to fully start
|
||||
|
||||
Reference in New Issue
Block a user