Magellan Linux

Diff of /trunk/mage/usr/lib/mage/museradd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2142 by niro, Mon Jul 15 08:13:49 2013 UTC revision 2268 by niro, Fri Oct 25 06:48:57 2013 UTC
# Line 1  Line 1 
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
# Line 64  fix_usermod_opts() Line 64  fix_usermod_opts()
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

Legend:
Removed from v.2142  
changed lines
  Added in v.2268