aports/testing/tuptime/tuptime.cron
Ricardo F b29204c7bd testing/tuptime: use tuptime user for execution
Create the user 'tuptime' for execution in OpenRC and cron.
2019-03-06 09:50:03 +00:00

5 lines
106 B
Bash

#!/bin/sh
if [ -x /usr/bin/tuptime ]; then
su tuptime -s /bin/sh -c '/usr/bin/tuptime -x' > /dev/null
fi