David Bird wrote: > Hi devs, > > I'm playing around with UCI configurations a bit, and was wondering if > it is desirable for programs to share certain configurations. For > instance, the hostapd UCI config patch I submitted allows the setting of > a RADIUS server. Other programs use RADIUS too, so I'm thinking of the > following: > > /etc/config/radius: > > config profile 'MyPrimary' > option server x.x.x.x > option authport 1812 > option acctport 1813 > option shared_secret blah > > config profile 'MySecondary' > option server x.x.x.x > option authport 1812 > option acctport 1813 > option shared_secret blah > > and switching the hostapd (and other programs) to use: > > ... > option radius1_profile 'MyPrimary' > option radius2_profile 'MySecondary' > > or maybe: > > ... > option radius_profiles 'MyPrimary MySecondary' > > yes? no? wrong mailing list? Yes, I think this makes sense. It's similar to the way in which the wireless config accesses network configs.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel