Mise à jour de 'install.sh'
This commit is contained in:
parent
9194f90608
commit
a431315437
@ -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
|
# Edition du fichier crontab pour éxecution du script post-redémarrage
|
||||||
touch /tmp/wibian/$username
|
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/
|
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/
|
cp /tmp/wibian/$username /var/spool/cron/crontabs/
|
||||||
chown $username:$username /var/spool/cron/crontabs/$username
|
chown $username:$username /var/spool/cron/crontabs/$username
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user