mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
rename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default this makes it possible to change the feeds lists without having the version control system record it as a change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12328 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
34a8a11664
commit
a9bbf998e4
@ -23,7 +23,9 @@ sub parse_config() {
|
||||
my $line = 0;
|
||||
my %name;
|
||||
|
||||
open FEEDS, "feeds.conf";
|
||||
open FEEDS, "feeds.conf" or
|
||||
open FEEDS, "feeds.conf.default" or
|
||||
die "Unable to open feeds configuration";
|
||||
while (<FEEDS>) {
|
||||
chomp;
|
||||
s/#.+$//;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user