diff options
author | Eric Stanley <estanley@nagios.com> | 2012-01-20 06:49:49 -0600 |
---|---|---|
committer | Eric Stanley <estanley@nagios.com> | 2012-01-20 06:49:49 -0600 |
commit | 355ad150eb4ba18d1e863c34c85e60a20f7c710d (patch) | |
tree | 2cdb807fafb9b6e8e4fa45abf4a5a3a59682dc66 /pkg | |
parent | d287ca27be8216b9e0082405aee34eb50eaeef54 (diff) | |
download | monitoring-plugins-355ad150eb4ba18d1e863c34c85e60a20f7c710d.tar.gz |
Added pst3 to Solaris package.
Diffstat (limited to 'pkg')
-rwxr-xr-x | pkg/solaris/solpkg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/solaris/solpkg b/pkg/solaris/solpkg index 6307bcd7..a21176e4 100755 --- a/pkg/solaris/solpkg +++ b/pkg/solaris/solpkg | |||
@@ -34,6 +34,11 @@ while (<PREPROTO>) { | |||
34 | or $thisline =~ " pkginfo " | 34 | or $thisline =~ " pkginfo " |
35 | or $thisline =~ " preinstall ") { | 35 | or $thisline =~ " preinstall ") { |
36 | # Don't do anything as they aren't important | 36 | # Don't do anything as they aren't important |
37 | } elsif ($thisline =~ "pst3") { | ||
38 | # Needs to be installed SUID root | ||
39 | ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline; | ||
40 | print PROTO "$dir $none $file 4755 root bin\n"; | ||
41 | |||
37 | } elsif ($thisline =~ "^[fd] ") { | 42 | } elsif ($thisline =~ "^[fd] ") { |
38 | # Change the ownership of files and directories | 43 | # Change the ownership of files and directories |
39 | ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline; | 44 | ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline; |