summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-18 14:42:31 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-18 14:42:31 -0500
commitd64fa7f25478b66da1f17222f0a7fc5da080295b (patch)
treee86047703d1437a7fb69fe31cd4c5907712d0d38 /etc
parentcc9464c18968b65f7d8c8d8baf8f306ea2fc61e1 (diff)
downloadpfsense-d64fa7f25478b66da1f17222f0a7fc5da080295b.zip
pfsense-d64fa7f25478b66da1f17222f0a7fc5da080295b.tar.gz
Touch log file so it can be created on livecd
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 166390b..ba52ee9 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -73,6 +73,7 @@ function services_dhcpd_configure() {
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/usr/local/sbin\n");
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/var/db\n");
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/var/run\n");
+ fwrite($fd, "touch {$g['dhcpd_chroot_path']}/var/run/log\n");
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/usr\n");
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/lib\n");
fwrite($fd, "mkdir -p {$g['dhcpd_chroot_path']}/run\n");
OpenPOWER on IntegriCloud