X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Ffunctions.sh;h=928365f326b1bf169b84387e9a0421b27f739537;hb=2d7ccea57a3773ad5edadf151c7528fe5e1e7064;hp=b638104a1c7e16041293069ac8f45405276ea259;hpb=93658add65079b4a5a5b678150d3d53805bb3c32;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index b638104..928365f 100644 --- 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