digitalocean FreeBSD droplet network config gone after pkg update

Sort answer:

Boot to single user mode, edit /etc/rc.d/digitalocean
Change this line

# REQUIRE: var

to

# REQUIRE: var ldconfig

Long story:

I got a FreeBSD droplet in digitalocean, created long time ago. After a manual package maintenance and reboot, network of this droplet is gone.

During boot process, I also noticed these two unusual lines:

Shared object "libnghttp2.so.14" not found, required by "libcurl.so.4"
Shared object "libpython2.7.so.1" not found, required by "python2.7"

Of course these files are there, also confirmed by “ldconfig -p” output. Maybe this issue is related with rc order? After quick fix above applied, my droplet works again.