- Timestamp:
- Feb 16, 2011, 2:02:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1194 r1197 1993 1993 } 1994 1994 my $hoption = "-p"; 1995 my $hpath = pb_distro_get_param($pbos,pb_conf_get("os cmdpath-halt"));1995 my $hpath = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-halt")); 1996 1996 # Solaris doesn't support -p of halt 1997 1997 if ($pbos->{'type'} eq "pkg") { … … 2965 2965 # Try to restrict security to what is really needed 2966 2966 if ($vtype =~ /^vm/) { 2967 my $hpath = pb_distro_get_param($pbos,pb_conf_get("os cmdpath-halt"));2967 my $hpath = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-halt")); 2968 2968 my @sudocmds = pb_get_sudocmds($pbos,$ntpline,$hpath); 2969 2969 print SCRIPT << "EOF";
Note:
See TracChangeset
for help on using the changeset viewer.