mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
Updater create addon backup folder if it was missing
made some folders in /var/run at boot move /var/spool/cron to ramdisk and link to it add the ramdisk default folder to makegraphs
This commit is contained in:
@@ -38,6 +38,11 @@ my %mainsettings = ();
|
||||
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
|
||||
&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
|
||||
|
||||
if ( $mainsettings{'RRDLOG'} eq "" ){
|
||||
$mainsettings{'RRDLOG'}="/var/log/rrd";
|
||||
&General::writehash("${General::swroot}/main/settings", \%mainsettings);
|
||||
}
|
||||
|
||||
sub updatehdddata{
|
||||
my $disk = $_[0];
|
||||
my $standby;
|
||||
|
||||
Reference in New Issue
Block a user