summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-02-12 21:24:58 +0100
committerbcyrill <cyrill@bannwart.info>2013-02-12 21:24:58 +0100
commit60214e06f092a0df839e3f9eb0944751c9b0d4fe (patch)
tree82a769d99bad589323ad6c5dd1efbd87034de831
parent100f3e7191a0c720857316c4ba0cac0890fe8177 (diff)
downloadpfsense-60214e06f092a0df839e3f9eb0944751c9b0d4fe.zip
pfsense-60214e06f092a0df839e3f9eb0944751c9b0d4fe.tar.gz
Update etc/inc/services.inc
Fix path to chmod
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index d464c5a..dd33e7c 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -311,7 +311,7 @@ function services_dhcpd_configure($family = "all") {
fwrite($fd, "/usr/sbin/chown -R dhcpd:_dhcp {$g['dhcpd_chroot_path']}/*\n");
fwrite($fd, "/bin/cp /lib/libc.so.* {$g['dhcpd_chroot_path']}/lib/\n");
fwrite($fd, "/bin/cp /usr/local/sbin/dhcpd {$g['dhcpd_chroot_path']}/usr/local/sbin/\n");
- fwrite($fd, "/usr/sbin/chmod a+rx {$g['dhcpd_chroot_path']}/usr/local/sbin/dhcpd\n");
+ fwrite($fd, "/bin/chmod a+rx {$g['dhcpd_chroot_path']}/usr/local/sbin/dhcpd\n");
$status = `/sbin/mount | /usr/bin/grep -v grep | /usr/bin/grep "{$g['dhcpd_chroot_path']}/dev"`;
if (!trim($status))
OpenPOWER on IntegriCloud