mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
ppps: another php function gone
This commit is contained in:
parent
a982fbc16b
commit
4dbdf8e3e4
@ -444,9 +444,9 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
|
||||
<tr style="display:none" name="portlists" id="portlists">
|
||||
<td id="serialports"><?php
|
||||
$selected_ports = explode(',',$pconfig['interfaces']);
|
||||
if (!is_dir("/var/spool/lock"))
|
||||
mwexec("/bin/mkdir -p /var/spool/lock");
|
||||
// $serialports = pfSense_get_modem_devices();
|
||||
if (!is_dir('/var/spool/lock')) {
|
||||
mwexec('/bin/mkdir -p /var/spool/lock');
|
||||
}
|
||||
$serialports = glob("/dev/cua?[0-9]{,.[0-9]}", GLOB_BRACE);
|
||||
$serport_count = 0;
|
||||
foreach ($serialports as $port) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user