Bläddra i källkod

Ensure that bash is used with the tox users script

Bob Mottram 8 år sedan
förälder
incheckning
6164a57878
No account linked to committer's email
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise Visa fil

760
 EOF
760
 EOF
761
     chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
761
     chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
762
     chroot "$rootdir" chmod +x /usr/bin/list-tox-users
762
     chroot "$rootdir" chmod +x /usr/bin/list-tox-users
763
-    echo "* *       * * *   $MY_USERNAME    /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
763
+    echo "* *       * * *   $MY_USERNAME    bash -c /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
764
 
764
 
765
     if [[ $VARIANT != "usb" ]]; then
765
     if [[ $VARIANT != "usb" ]]; then
766
         # log in automatically
766
         # log in automatically