Fiscality maschera funziona fino all apertura del xmlx
This commit is contained in:
18
defaults/autostart
Executable file
18
defaults/autostart
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
DISPLAY=${DISPLAY:-:1}
|
||||
export DISPLAY
|
||||
|
||||
# Wait for X to be ready
|
||||
tries=0
|
||||
until xdpyinfo -display "$DISPLAY" >/dev/null 2>&1 || [ $tries -ge 30 ]; do
|
||||
sleep 0.5
|
||||
tries=$((tries+1))
|
||||
done
|
||||
|
||||
# Wait a bit more for everything to stabilize
|
||||
sleep 2
|
||||
|
||||
# Start Fiscality application as abc user
|
||||
exec /app/Fiscality/Fiscality -NoCheck -Dosgi.locking=none
|
||||
Reference in New Issue
Block a user