projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0030fa4
)
Fixed oidentd handling.
author
Valentin Vidic
<vvidic@carnet.hr>
Tue, 15 Jan 2008 14:13:56 +0000
(15:13 +0100)
committer
Valentin Vidic
<vvidic@carnet.hr>
Tue, 15 Jan 2008 14:13:56 +0000
(15:13 +0100)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
43d8be9
..
ddde558
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-329,10
+329,12
@@
add_group_proc () {
# update oidentd so it uses the proc group
if [ -x /etc/init.d/oidentd -a -f /etc/default/oidentd ]; then
- check_and_sed '^OIDENT_GROUP=proc' \
- 's/^\(OIDENT_GROUP\)=.*/\1=proc/' \
- /etc/default/oidentd \
- && /etc/init.d/oidentd restart
+ if check_and_sed '^OIDENT_GROUP=oident' \
+ 's/^\(OIDENT_GROUP\)=.*/\1=proc/' \
+ /etc/default/oidentd;
+ then
+ /etc/init.d/oidentd restart
+ fi
fi
fi
}