mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Touch log file so it can be created on livecd
This commit is contained in:
parent
cc9464c189
commit
d64fa7f254
@ -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");
|
||||
|
||||
@ -24,8 +24,11 @@ var addRowTo = (function() {
|
||||
tbody = d.getElementById(tableId).getElementsByTagName("tbody").item(0);
|
||||
tr = d.createElement("tr");
|
||||
totalrows++;
|
||||
if(function_exists('row_helper_dynamic_custom'))
|
||||
onChange = " onchange='row_helper_dynamic_custom(" + tr + ")' ";
|
||||
// Check to see if our hook function is defined. If it is defined we will
|
||||
// call into the hook for every row change event allowing javascript
|
||||
// to enable/disable and do other things to the row.
|
||||
if(function_exists('row_helper_dynamic_custom') == true)
|
||||
onChange = " onChange='javascript:row_helper_dynamic_custom(" + tr + ")' ";
|
||||
if (!objectSize)
|
||||
objectSize = rowsize[i];
|
||||
for (i = 0; i < field_counter_js; i++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user