Changeset 63 for devel/dploy-dhcp
- Timestamp:
- 06/05/08 16:23:10 (4 years ago)
- File:
-
- 1 edited
-
devel/dploy-dhcp/bin/dploy-dhcp-post (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devel/dploy-dhcp/bin/dploy-dhcp-post
r62 r63 8 8 use strict; 9 9 use ProjectBuilder::Base; 10 use ProjectBuilder::Conf; 10 11 11 12 =pod … … 54 55 my ($login,$pass,$uid,$gid,$gecos,$dir,$shell) = getpwnam($user) or die "$user not in passwd file"; 55 56 56 chown 0,$gid,"/etc/dhcpd.conf"; 57 chmod 0644,"/etc/dhcpd.conf"; 57 pb_conf_add("PBCONF/dploy.conf"); 58 my ($pathdhcp) = pb_conf_get("pathdhcp"); 59 60 chown 0,$gid,$pathdhcp->{$ENV{'PBPROJ'}}; 61 chmod 0644,$pathdhcp->{$ENV{'PBPROJ'}}; 58 62 59 63 # Include dploy in sudoers
Note: See TracChangeset
for help on using the changeset viewer.
