git://git.onelab.eu
/
plcrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed getadmins into a generic function for both for admins and other roles.
[plcrt.git]
/
cron.d
/
syncadmins.sh
diff --git
a/cron.d/syncadmins.sh
b/cron.d/syncadmins.sh
index
3d41b5a
..
534f65e
100755
(executable)
--- a/
cron.d/syncadmins.sh
+++ b/
cron.d/syncadmins.sh
@@
-1,4
+1,4
@@
#!/bin/bash
RTDIR=/usr/share/plcrt
#!/bin/bash
RTDIR=/usr/share/plcrt
-${RTDIR}/
getadmins.py
| ${RTDIR}/adduserstort.pl priv -
+${RTDIR}/
callplcsh.py ${RTDIR}/getadmins.py admin
| ${RTDIR}/adduserstort.pl priv -