added sleep in /usr/bin file

This commit is contained in:
2021-04-11 21:42:23 +02:00
parent 14e325aa44
commit 8647149799

View File

@@ -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