From: Manuel Munz Date: Thu, 8 Sep 2011 15:44:56 +0000 (+0000) Subject: modules/admin: Make sure luci_fixtime works on mini_fo (#262) X-Git-Tag: 0.11.0~1774 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d33d6224e9567b6a7365173a05abe69a5be16b62;p=oweals%2Fluci.git modules/admin: Make sure luci_fixtime works on mini_fo (#262) --- diff --git a/modules/admin-core/root/etc/init.d/luci_fixtime b/modules/admin-core/root/etc/init.d/luci_fixtime index e03d60e1a..154a786f5 100755 --- a/modules/admin-core/root/etc/init.d/luci_fixtime +++ b/modules/admin-core/root/etc/init.d/luci_fixtime @@ -12,5 +12,5 @@ start() { } stop() { - [[ -w /etc/init.d/luci_fixtime ]] && touch /etc/init.d/luci_fixtime + [[ -w /etc/init.d/luci_fixtime ]] && cat /dev/null >> /etc/init.d/luci_fixtime && touch /etc/init.d/luci_fixtime }