Project

General

Profile

Bug #931

Don't try to backup DHCP leases if DHCP server disabled

Added by Chris Buechler almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
Start date:
10/03/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

The DHCP lease backup causes errors when the DHCP server isn't enabled.

pfSense is now shutting down ...
 tar: var/dhcpd/var/db: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors.

Associated revisions

Revision e9b0bcf7 (diff)
Added by Ermal Luçi almost 9 years ago

Ticket #931. Check that directory exist before trying to tar up. Do this for rrd and dhcpleases scripts used during shutdown.

History

#1 Updated by Ermal Luçi almost 9 years ago

  • Status changed from New to Feedback

#2 Updated by Chris Buechler almost 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF