1 |
vip-ire |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed mezzanine_patched_smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed |
2 |
|
|
--- smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed 2008-04-04 18:17:32.000000000 +0200 |
3 |
|
|
+++ mezzanine_patched_smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed 2008-08-28 14:18:04.000000000 +0200 |
4 |
|
|
@@ -1,2 +1,10 @@ |
5 |
|
|
-uamallowed {$chilli{'uamallowed'} || '';} |
6 |
|
|
+{ |
7 |
|
|
+my @uamalloweds = split(/[;,]/, ($chilli{'uamallowed'} || '')); |
8 |
|
|
|
9 |
|
|
+$OUT = ''; |
10 |
|
|
+ |
11 |
|
|
+# TODO: check the entry with a good regex |
12 |
|
|
+ |
13 |
|
|
+$OUT .= 'uamallowed '.$_."\n" foreach (@uamalloweds); |
14 |
|
|
+ |
15 |
|
|
+} |