1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/museradd,v 1.4 2005-06-01 15:48:43 niro Exp $ |
# $Id$ |
3 |
|
|
4 |
# include all needed files |
# include all needed files |
5 |
[ -f /etc/mage.rc.global ] && source /etc/mage.rc.global |
[ -f /etc/mage.rc.global ] && source /etc/mage.rc.global |
64 |
for i in $* |
for i in $* |
65 |
do |
do |
66 |
case $1 in |
case $1 in |
67 |
-M) continue ;; # usermod does not support the -M switch |
-M) : ;; # usermod does not support the -M switch |
68 |
*) FIXED_USERMOD_OPTS+=" $1" ;; |
*) FIXED_USERMOD_OPTS+=" $1" ;; |
69 |
esac |
esac |
70 |
shift |
shift |