2017-01-26 16:56:17 +00:00
|
|
|
#! /bin/sh -e
|
2017-01-25 15:46:32 +00:00
|
|
|
|
|
|
|
if grep nmr /etc/group >/dev/null; then
|
|
|
|
echo "group nmr already exists" ;
|
|
|
|
else
|
|
|
|
echo "creating group nmr" ;
|
|
|
|
groupadd nmr || echo "failed!"
|
|
|
|
fi
|
|
|
|
|
|
|
|
find /usr/lib/damaris/backends -type f \
|
|
|
|
\! -name dummycore \
|
|
|
|
-exec chgrp nmr {} \; \
|
|
|
|
-exec chmod u+s,o= {} \;
|
|
|
|
|
|
|
|
#DEBHELPER#
|