From b42ce1001cdcf257ec166f0dd8b4789f9eccf8cb Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 29 Sep 2021 17:59:47 +0200 Subject: [PATCH] ajout config remmina dans connect2member.sh --- SOURCES/connect2member.sh | 4 +++- SPECS/lalis-assistance.spec | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/SOURCES/connect2member.sh b/SOURCES/connect2member.sh index 32f8edc..6260a9e 100755 --- a/SOURCES/connect2member.sh +++ b/SOURCES/connect2member.sh @@ -1,5 +1,7 @@ #!/bin/sh ssh -N -f -L 5900:localhost:5900 -p 10022 lalis69.ddns.net +if ! [ -e ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina ] + cp /usr/share/lalis/group_vnc_lalis_localhost-5900.remmina ~/.config/remmina/ +fi remmina -c ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina - diff --git a/SPECS/lalis-assistance.spec b/SPECS/lalis-assistance.spec index 3d9fcd7..e10b030 100644 --- a/SPECS/lalis-assistance.spec +++ b/SPECS/lalis-assistance.spec @@ -1,7 +1,7 @@ Summary: Install LALIS Assistance Name: lalis-assistance Version: 1 -Release: %mkrel 4 +Release: %mkrel 5 License: GPLv3 Group: Tools Url: http://lalis.fr @@ -11,6 +11,7 @@ Source1: connect2member.sh Source2: sshconnect Source3: Assistance_Lalis_vnc.desktop Source4: Assistance_Lalis_ssh.desktop +Source5: group_vnc_lalis_localhost-5900.remmina Requires: tigervnc Requires: openssh-clients @@ -32,9 +33,11 @@ cp %{SOURCE3} %{buildroot}%{_datadir}/kio_desktop/ cp %{SOURCE3} %{buildroot}%{_datadir}/dist/desktop-files/default/ cp %{SOURCE4} %{buildroot}%{_datadir}/kio_desktop/ cp %{SOURCE4} %{buildroot}%{_datadir}/dist/desktop-files/default/ +cp %{SOURCE5} %{buildroot}%{_datadir}/lalis/group_vnc_lalis_localhost-5900.remmina %files %{_bindir}/connect2member.sh %{_bindir}/sshconnect %{_datadir}/kio_desktop/* %{_datadir}/dist/desktop-files/default/* +%{_datadir}/lalis/group_vnc_lalis_localhost-5900.remmina