/etc/sysupgrade.conf: sysupgrade not keeping directory

Did anyone have a situation while upgrading firmware it doesnt keep file or directory from sysupgrade.conf ?

root@OpenWrt:~# cat /etc/sysupgrade.conf
## This file contains files and directories that should
## be preserved during an upgrade.
# /etc/example.conf
# /etc/openvpn/
/etc/crontabs/
/update_IP/ip\ check
root@OpenWrt:~#

Everytime when im updating release it never keeps that directory

If you refer to this directory, a space in the directory name is a bad practice.

I would guess that it is the reason. Some shell script handles the line without quoting it, likely.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.