From 385a35a1db65fc3ad3e0516d34e8de349e713c30 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Mon, 21 Jan 2019 10:28:29 +0100
Subject: [PATCH] Use path relative to -bash

---
 postinstall_reseau.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postinstall_reseau.sh b/postinstall_reseau.sh
index 4258d5d..ce06451 100755
--- a/postinstall_reseau.sh
+++ b/postinstall_reseau.sh
@@ -29,5 +29,5 @@ git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
 chown -R www-data:www-data eole-wol/wol/www
 
 mkdir -p /etc/xrdp
-cp /var/www/eole-wol/wol/xrdp.ini /etc/xrdp
+cp $DIR/wol/xrdp.ini /etc/xrdp/
 systemctl restart xrdp
-- 
GitLab