chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
serialmgr: Look for things in /usr, not /usr/local
[sympathy.git]
/
serialmgr
/
serialmgrd
diff --git
a/serialmgr/serialmgrd
b/serialmgr/serialmgrd
index 9fec92cf92769e18285e77e48530e0ffced8e6c3..e3c260afe33795def8601fd61b615d3ded014aa0 100755
(executable)
--- a/
serialmgr/serialmgrd
+++ b/
serialmgr/serialmgrd
@@
-12,8
+12,8
@@
my $stuff = [];
my $hosts = [];
my $hup = 0;
my $hosts = [];
my $hup = 0;
-my $consolidate_exe = "/usr/
local/
bin/consolidate";
-my $sympathy_exe = "/usr/
local/
bin/sympathy";
+my $consolidate_exe = "/usr/bin/consolidate";
+my $sympathy_exe = "/usr/bin/sympathy";
my @keys = qw(host portcode baud task user password name options);
my @keys = qw(host portcode baud task user password name options);
@@
-76,10
+76,10
@@
sub check_users($) {
for my $l (@$c) {
my $shell;
if ( $l->{task} eq "sympathy" ) {
for my $l (@$c) {
my $shell;
if ( $l->{task} eq "sympathy" ) {
- $shell = "/usr/
local/
bin/run_sympathy";
+ $shell = "/usr/bin/run_sympathy";
}
else {
}
else {
- $shell = "/usr/
local/
bin/run_conclient";
+ $shell = "/usr/bin/run_conclient";
}
if ( not defined getpwnam( $l->{user} ) ) {
syslog( LOG_ERR, "creating an account for user " . $l->{user} );
}
if ( not defined getpwnam( $l->{user} ) ) {
syslog( LOG_ERR, "creating an account for user " . $l->{user} );