mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
interfaces_pps_edit use latest GLOB from RELENG_2_2
Use the latest cua* glob from the code in RELENG_2_2 that was "recently" modified to get this right. Remove the debug version that looked for "tty" so that people can use it on real systems now. Forum thread: https://forum.pfsense.org/index.php?topic=102111.0
This commit is contained in:
parent
d6b8120d1b
commit
faeb9aca25
@ -559,9 +559,7 @@ function build_link_list() {
|
||||
mwexec("/bin/mkdir -p /var/spool/lock");
|
||||
|
||||
if($pconfig['type'] == 'ppp') {
|
||||
$serialports = glob("/dev/cua?[0-9]{,.[0-9]}", GLOB_BRACE);
|
||||
//DEBUG
|
||||
$serialports = glob("/dev/tty?[0-9]{,.[0-9]}", GLOB_BRACE);
|
||||
$serialports = glob("/dev/cua[a-zA-Z][0-9]{,.[0-9],.[0-9][0-9],[0-9],[0-9].[0-9],[0-9].[0-9][0-9]}", GLOB_BRACE);
|
||||
|
||||
$serport_count = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user