added sleep in /usr/bin file
This commit is contained in:
@@ -36,7 +36,7 @@ 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>
|
||||
and add this content:
|
||||
and add this content (replace $APPDIR with your location of the application):
|
||||
<pre>#!/bin/bash
|
||||
sudo $APPDIR/gnome-script.sh
|
||||
sleep 1 #gives the services time to fully start
|
||||
|
||||
Reference in New Issue
Block a user