added sleep in /usr/bin file

This commit is contained in:
2021-04-11 21:44:25 +02:00
parent 8647149799
commit a92d2be78d

View File

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