summaryrefslogtreecommitdiff
path: root/source/a/dcron/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/dcron/doinst.sh')
-rw-r--r--source/a/dcron/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/a/dcron/doinst.sh b/source/a/dcron/doinst.sh
new file mode 100644
index 00000000..ce8dc7f3
--- /dev/null
+++ b/source/a/dcron/doinst.sh
@@ -0,0 +1,5 @@
+if [ ! -r var/spool/cron/crontabs/root ]; then
+ mv var/spool/cron/crontabs/root.new var/spool/cron/crontabs/root
+else
+ rm -f var/spool/cron/crontabs/root.new
+fi