luci-mod-admin-full: allow writing empty crontab config
authorFlorian Eckert <Eckert.Florian@googlemail.com>
Wed, 16 Mar 2016 10:08:16 +0000 (11:08 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Mar 2016 15:30:25 +0000 (16:30 +0100)
commit175ae35d87857159ba19bdc3bf8c667d9438c79d
treefc4bf2b2f50f08884729e6c8ad684c31f47d19b9
parent362db10f882fc448f550e1f0de1afeb27ab3156f
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