eid-ops/global/post-tasks.d/099autoremove

7 lines
101 B
Text
Raw Normal View History

2018-05-03 12:48:05 +02:00
#!/bin/bash
2013-09-02 16:01:50 +02:00
2018-05-03 12:48:05 +02:00
if (( $RANDOM % 20 == 0)); then
apt-get -qq update
apt-get -qq -y autoremove
fi