Re: Loss of default route
- In reply to: Doug Hardie : "Re: Loss of default route"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Feb 2025 13:41:20 UTC
Hi, Am 13.02.25 um 20:35 schrieb Doug Hardie: >> On Feb 13, 2025, at 10:57, mike tancsa <mike@sentex.net> wrote: >> >> On 2/13/2025 1:46 PM, Doug Hardie wrote: >>> ### IPv4 Setup ### >>> ifconfig ue0 inet 10.0.1.212/16 >>> defaultrouter="10.0.1.1" >> >> >> Are there really no quotes around ifconfig_ue0="inet 10.0.1.212/16" ? >> >> > > Good catch. Note that there was no _ between ifconfig and ue0 either. rc didn't see any issues with the original entry. /etc/rc.conf is really nothing more than an include file for rc in order to set variables to user defined values. But there is no check for rc.conf to contain only variable assignments. Every bare command you put there (ifconfig ...), will be executed on every invocation of service, which is nothing more than shell script, too. regards, Robert Schulze