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:
93658ad
)
Add oident to proc group instead of modifying config.
author
Valentin Vidic
<vvidic@carnet.hr>
Wed, 23 Jan 2008 13:27:54 +0000
(14:27 +0100)
committer
Valentin Vidic
<vvidic@carnet.hr>
Wed, 23 Jan 2008 13:27:54 +0000
(14:27 +0100)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
b638104
..
928365f
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-328,11
+328,8
@@
add_group_proc () {
log "groupadd -g 99 proc"
# update oidentd so it uses the proc group
- if [ -x /etc/init.d/oidentd -a -f /etc/default/oidentd ]; then
- if check_and_sed '^OIDENT_GROUP=oident' \
- 's/^\(OIDENT_GROUP\)=.*/\1=proc/' \
- /etc/default/oidentd;
- then
+ if [ -x /etc/init.d/oidentd ]; then
+ if gpasswd -a oident proc; then
/etc/init.d/oidentd restart
fi
fi