mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
Revert "interfaces: configd action for device creation #5540"
This reverts commit 376481a842b0bd06ebb16b1026d436c50c7479e1. Discussed internally. Only need one step forward for now.
This commit is contained in:
parent
4b0ebb04da
commit
e03c12f3a5
@ -5,12 +5,6 @@ type:script
|
||||
message:Configuring interface %s
|
||||
description:Periodic interface reset
|
||||
|
||||
[create]
|
||||
command:/sbin/ifconfig
|
||||
parameters:%s create
|
||||
type:script_output
|
||||
message:Creating %s interface
|
||||
|
||||
[newip]
|
||||
command:/usr/local/etc/rc.newwanip
|
||||
parameters:%s
|
||||
|
||||
@ -112,7 +112,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
|
||||
if (empty($gif['gifif'])) {
|
||||
$gif['gifif'] = trim(configdp_run('interface create', ['gif']));
|
||||
$gif['gifif'] = legacy_interface_create('gif'); /* XXX find another strategy */
|
||||
}
|
||||
|
||||
if (empty($gif['gifif']) || strpos($gif['gifif'], 'gif') !== 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user