chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:17 +08:00
commit cf8edb9f21
44281 changed files with 1655134 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/local/bin/perl
# setup.sh
# Copy the default config file into place
require './adsl-client-lib.pl';
&lock_file($config{'pppoe_conf'});
&system_logged("cp $module_root_directory/ifcfg-ppp $config{'pppoe_conf'}");
if ($config{'pppoe_conf'} =~ /ifcfg-(ppp\d+)$/) {
$conf = &get_config();
&save_directive($conf, "DEVICE", "$1");
&flush_file_lines();
}
&unlock_file($config{'pppoe_conf'});
&webmin_log("setup");
&redirect("");