From a4313154374d9aeac23d04ef19a8ea42acd92db8 Mon Sep 17 00:00:00 2001 From: wilou Date: Thu, 30 Mar 2023 20:36:38 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1660f68..fe443ce 100644 --- a/install.sh +++ b/install.sh @@ -111,9 +111,9 @@ flatpak --user override --filesystem=/run/udev:ro io.github.hmlendea.geforcenow- # Edition du fichier crontab pour éxecution du script post-redémarrage touch /tmp/wibian/$username -sed -i -e '$a@reboot bash /tmp/runonce.sh' /tmp/wibian/$username -sed -i -e '$a@reboot crontab -r -u $username' /tmp/wibian/$username cp $builddir/runonce.sh /tmp/ +echo "@reboot bash /tmp/runonce.sh" >> /tmp/wibian/$username +echo "@reboot crontab -r -u $username" >> /tmp/wibian/$username cp /tmp/wibian/$username /var/spool/cron/crontabs/ chown $username:$username /var/spool/cron/crontabs/$username