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