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:
Arne Fitzenreiter
2008-10-03 11:15:51 +02:00
parent a58a3090e2
commit dd7d74eb65
3 changed files with 51 additions and 2 deletions

View File

@@ -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;