mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
remove the dummy profile that was created on targets that have subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9383 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -72,6 +72,7 @@ sub parse_target_metadata() {
|
||||
}
|
||||
close FILE;
|
||||
foreach my $target (@target) {
|
||||
next if @{$target->{subtargets}} > 0;
|
||||
@{$target->{profiles}} > 0 or $target->{profiles} = [
|
||||
{
|
||||
id => 'Default',
|
||||
|
||||
Reference in New Issue
Block a user