Project

General

Profile

Bug #8106 ยป rc.bootup.patch

J L, 11/18/2017 02:43 PM

View differences:

etc/rc.bootup
197 197
setup_microcode();
198 198
echo "done.\n";
199 199

  
200
/* remove leftover dhcp6c lock files if they exist */
201
foreach ($config['interfaces'] as $interface) {
202
        if ($interface['ipaddrv6'] == "dhcp6") {
203
            if (file_exists("/tmp/dhcp6c_" . $interface['if'] . "_lock")) {
204
                @unlink("/tmp/dhcp6c_" . $interface['if'] . "_lock");
205
                echo("Removed leftover dhcp6c lock file: " . "/tmp/dhcp6c_" . $interface['if'] . "_lock\n");
206
            }
207
         }
208
     }
209

  
200 210
/* set up interfaces */
201 211
if (!$debugging) {
202 212
	mute_kernel_msgs();
    (1-1/1)