luci-mod-admin-full: allow writing empty crontab config 674/head
authorFlorian Eckert <Eckert.Florian@googlemail.com>
Wed, 16 Mar 2016 10:08:16 +0000 (11:08 +0100)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Wed, 16 Mar 2016 10:08:16 +0000 (11:08 +0100)
commit53b75d4562ba0bad3e42688ef02fe3d88f05b104
tree786362ecba28393d3e540b2c538230cca7e0afbb
parentf1190e2d07f76735e0927704de7a5cf8b37998d0
luci-mod-admin-full: allow writing empty crontab config

Write an empty crontab file to remove all content
from file /etc/crontabs/root

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua