Compare commits
2 Commits
1dbf63d7a0
...
a1cd75a991
Author | SHA1 | Date | |
---|---|---|---|
a1cd75a991 | |||
7bf3e9c703 |
5
etc/default/config.ini
Normal file
5
etc/default/config.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[customer]
|
||||||
|
cust_uuid = 00000000-0000-0000-0000-000000000000
|
||||||
|
|
||||||
|
[syslog]
|
||||||
|
logfile = /var/log/bgpblacklist.log
|
@ -2,11 +2,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if ( !file_exists("/opt/bgpblist/etc/config.ini") ) {
|
if ( !file_exists("/opt/bgpblist/etc/config.ini") ) {
|
||||||
echo "ERROR: no config file\n";
|
echo "ERROR: no config file\n";
|
||||||
file_put_contents("/opt/bgpblist/etc/config.ini","[customer]
|
copy("/opt/bgpblist/etc/default/config.ini","/opt/bgpblist/etc/config.ini");
|
||||||
cust_uuid = 00000000-0000-0000-0000-000000000000
|
|
||||||
|
|
||||||
[syslog]
|
|
||||||
logfile = /var/log/bgpblacklist.log");
|
|
||||||
echo "INFO: file created, edit it before next start\n";
|
echo "INFO: file created, edit it before next start\n";
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user