2010-12-04 Junichi Satoh <junichi@rworks.jp>
* unix/plugins/pandora_update: Added support for FreeBSD. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7aa4908169
commit
3c75c7c603
|
@ -1,3 +1,7 @@
|
|||
2010-12-04 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* unix/plugins/pandora_update: Added support for FreeBSD.
|
||||
|
||||
2010-12-02 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* unix/SunOS/make_solaris_package/prototype: Added pandora_update.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2010-12-04 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* plugins/pandora_update: Added support for FreeBSD.
|
||||
|
||||
2010-12-02 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* SunOS/make_solaris_package/prototype: Added pandora_update.
|
||||
|
|
|
@ -104,8 +104,15 @@ my $base_path = return_basepath();
|
|||
# Location of binaries
|
||||
|
||||
# Unix
|
||||
my $running_binary = "/usr/bin/pandora_agent";
|
||||
my $updated_binary = "/etc/pandora/collections/$fc_path/pandora_agent";
|
||||
my $running_binary;
|
||||
my $updated_binary;
|
||||
if ($^O eq 'freebsd') {
|
||||
$running_binary = "/usr/local/bin/pandora_agent";
|
||||
$updated_binary = "/usr/local/etc/pandora/collections/$fc_path/pandora_agent";
|
||||
} else {
|
||||
$running_binary = "/usr/bin/pandora_agent";
|
||||
$updated_binary = "/etc/pandora/collections/$fc_path/pandora_agent";
|
||||
}
|
||||
|
||||
# Windows
|
||||
|
||||
|
@ -116,8 +123,15 @@ my $updated_binary = "/etc/pandora/collections/$fc_path/pandora_agent";
|
|||
|
||||
# Unix style
|
||||
|
||||
my $start_pandora = "/etc/init.d/pandora_agent_daemon start";
|
||||
my $stop_pandora = "/etc/init.d/pandora_agent_daemon stop";
|
||||
my $start_pandora;
|
||||
my $stop_pandora;
|
||||
if ($^O eq 'freebsd') {
|
||||
$start_pandora = "/usr/local/etc/rc.d/pandora_agent start";
|
||||
$stop_pandora = "/usr/local/etc/rc.d/pandora_agent stop";
|
||||
} else {
|
||||
$start_pandora = "/etc/init.d/pandora_agent_daemon start";
|
||||
$stop_pandora = "/etc/init.d/pandora_agent_daemon stop";
|
||||
}
|
||||
|
||||
# Windows stuff
|
||||
|
||||
|
|
Loading…
Reference in New Issue