From 69163b15e175bcd12996e49223baabb61111fbfe Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 10 May 2020 11:53:03 +0800 Subject: [PATCH] luci-app-rclone: sync with upstream source --- package/ctcgfw/luci-app-rclone/root/etc/init.d/rclone | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/ctcgfw/luci-app-rclone/root/etc/init.d/rclone b/package/ctcgfw/luci-app-rclone/root/etc/init.d/rclone index b5dbc71094..03f8fc39c4 100755 --- a/package/ctcgfw/luci-app-rclone/root/etc/init.d/rclone +++ b/package/ctcgfw/luci-app-rclone/root/etc/init.d/rclone @@ -32,6 +32,9 @@ init_config() { [ -f "$config_path" ] || touch "$config_path" + [ -d "/lib/upgrade/keep.d" ] || mkdir -p /lib/upgrade/keep.d/luci-app-rclone 2>/dev/null + echo "$config_path" > /lib/upgrade/keep.d/luci-app-rclone + log_dir=${log_path%/*} [ -d "$log_dir" ] || mkdir -p "$log_dir" 2>/dev/null && echo /dev/null > "$log_path"