Browse Source

Réintégration Anydesk par défaut

jld 3 months ago
parent
commit
1ba61e2a89
2 changed files with 13 additions and 17 deletions
  1. 13 2
      deploy.sh
  2. 0 15
      devconf.sh

+ 13 - 2
deploy.sh

@@ -149,8 +149,19 @@ rm -r /home/"$KUSER"/.config/chromium/Extensionsio/totemhome
 git clone -b $VERSION "$GITURL"/totemhome.git /home/"$KUSER"/.config/chromium/Extensionsio/totemhome
 
  
-##################### Supervisor #######################
-
+##################### Anydesk #######################
+
+if ! dpkg -s anydesk >/dev/null 2>&1; then
+    apt install libpango1.0-0 libegl1-mesa -y
+    wget https://download.anydesk.com/rpi/anydesk_5.1.1-1_armhf.deb
+    dpkg -i anydesk_5.1.1-1_armhf.deb
+    rm anydesk_5.1.1-1_armhf.deb
+    echo 'ad.security.interactive_access=0' | sudo tee -a /etc/anydesk/system.conf
+    echo 'ad.security.file_manager=false' | sudo tee -a /etc/anydesk/system.conf
+    echo 'ad.security.clipboard.files=false' | sudo tee -a /etc/anydesk/system.conf
+    echo 'ad.security.hear_audio=false' | sudo tee -a /etc/anydesk/system.conf
+    sudo systemctl daemon-reload
+fi
 
  
 ##################### Flaskinterface #######################

+ 0 - 15
devconf.sh

@@ -11,21 +11,6 @@
 sudo apt-get install ruby shellcheck -y
 wget -O /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate#!/bin/sh
 sudo chmod a+x /usr/local/bin/rmate
- 
-##################### Anydesk #######################
-
-if ! dpkg -s anydesk >/dev/null 2>&1; then
-    apt install libpango1.0-0 libegl1-mesa -y
-    wget https://download.anydesk.com/rpi/anydesk_5.1.1-1_armhf.deb
-    dpkg -i anydesk_5.1.1-1_armhf.deb
-    rm anydesk_5.1.1-1_armhf.deb
-    echo 'ad.security.interactive_access=0' | sudo tee -a /etc/anydesk/system.conf
-    echo 'ad.security.file_manager=false' | sudo tee -a /etc/anydesk/system.conf
-    echo 'ad.security.clipboard.files=false' | sudo tee -a /etc/anydesk/system.conf
-    echo 'ad.security.hear_audio=false' | sudo tee -a /etc/anydesk/system.conf
-    sudo systemctl daemon-reload
-fi
-
 
 
 # Installation des scripts iomanage