initial commit of file from CVS for smeserver-coova-chilli on Sat Sep 7 20:15:38 AEST 2024
This commit is contained in:
@@ -0,0 +1 @@
|
||||
tcp:any:443
|
@@ -0,0 +1 @@
|
||||
3990
|
@@ -0,0 +1 @@
|
||||
direct
|
1
root/etc/e-smith/db/configuration/defaults/chilli/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
@@ -0,0 +1 @@
|
||||
900
|
@@ -0,0 +1 @@
|
||||
7200
|
@@ -0,0 +1 @@
|
||||
254
|
1
root/etc/e-smith/db/configuration/defaults/chilli/dhcpif
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/dhcpif
Normal file
@@ -0,0 +1 @@
|
||||
eth2
|
@@ -0,0 +1 @@
|
||||
10
|
1
root/etc/e-smith/db/configuration/defaults/chilli/dns1
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/dns1
Normal file
@@ -0,0 +1 @@
|
||||
8.8.8.8
|
1
root/etc/e-smith/db/configuration/defaults/chilli/dns2
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/dns2
Normal file
@@ -0,0 +1 @@
|
||||
8.8.4.4
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
400
|
@@ -0,0 +1 @@
|
||||
64
|
1
root/etc/e-smith/db/configuration/defaults/chilli/net
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/net
Normal file
@@ -0,0 +1 @@
|
||||
10.1.0.0/255.255.255.0
|
1
root/etc/e-smith/db/configuration/defaults/chilli/noc2c
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/noc2c
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/chilli/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/status
Normal file
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/configuration/defaults/chilli/tundev
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/tundev
Normal file
@@ -0,0 +1 @@
|
||||
tun0
|
1
root/etc/e-smith/db/configuration/defaults/chilli/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/chilli/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1 @@
|
||||
|
16
root/etc/e-smith/db/configuration/migrate/60Chilli
Normal file
16
root/etc/e-smith/db/configuration/migrate/60Chilli
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
my $chilliconf = $DB->get('chilli') || $DB->new_record('chilli', {type => 'service'});
|
||||
my $uamsecret = $chilliconf->prop('uamsecret') || '';
|
||||
|
||||
if ($uamsecret eq ''){
|
||||
$pass=`/usr/bin/openssl rand -base64 60 | tr -c -d '[:graph:]'`;
|
||||
$chilliconf->set_prop('uamsecret',$pass);
|
||||
}
|
||||
# change default dns server as they are not available anymore
|
||||
# new default is google
|
||||
my $dns1 = $chilliconf->prop('dns1') || '212.73.209.226';
|
||||
my $dns2 = $chilliconf->prop('dns2') || '194.206.120.1';
|
||||
$chilliconf->set_prop('dns1','8.8.8.8') if $dns1 eq '212.73.209.226';
|
||||
$chilliconf->set_prop('dns2','8.8.4.4') if $dns2 eq '194.206.120.1';
|
||||
}
|
||||
|
Reference in New Issue
Block a user