#14553: ntpd client state not remembered after sysupgrade
-------------------------+----------------------------------
Reporter: lsoltero@… | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: luci | Version: Trunk
Resolution: wontfix | Keywords: ntpd sysntpd
-------------------------+----------------------------------
Comment (by anonymous):
Perhaps something like this in sysupgrade? Store to a file and execute
when the new image is available? This will fail if an init script does not
support "enabled" and is default enabled.
{{{
for init_script in /etc/init.d/* ; do
if [ -x "$init_script" ] && $init_script enabled; then
echo "[ -x \"$init_script\" ] && $init_script enable"
else
echo "[ -x \"$init_script\" ] && $init_script disable"
fi
done
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/14553#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets