Explorar el Código

Wait for keypress when displaying qr code

Bob Mottram hace 7 años
padre
commit
1d441d393d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/freedombone-app-syncthing

+ 2
- 0
src/freedombone-app-syncthing Ver fichero

99
     echo $'Your Syncthing ID code'
99
     echo $'Your Syncthing ID code'
100
     echo ''
100
     echo ''
101
     echo "$SYNCTHING_ID" | qrencode -t UTF8
101
     echo "$SYNCTHING_ID" | qrencode -t UTF8
102
+    echo ''
103
+    read -n1 -rsp $"Press any key to continue..." key
102
 }
104
 }
103
 
105
 
104
 function syncthing_add_id {
106
 function syncthing_add_id {