* Less verbosity.

svn path=/nixos/trunk/; revision=10506
This commit is contained in:
Eelco Dolstra 2008-02-05 14:33:21 +00:00
parent 90f34e204d
commit 65c1f9882c
2 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,7 @@ cat "$2" | while true; do
"$name" \ "$name" \
${gid:+--gid $gid} ${gid:+--gid $gid}
else else
echo "updating group $name..." #echo "updating group $name..."
oldIFS="$IFS"; IFS=:; set -- $curEnt; IFS="$oldIFS" oldIFS="$IFS"; IFS=:; set -- $curEnt; IFS="$oldIFS"
prevGid=$3 prevGid=$3
if test -n "$gid" -a "$prevGid" != "$gid"; then if test -n "$gid" -a "$prevGid" != "$gid"; then
@ -40,7 +40,7 @@ cat "$1" | while true; do
--shell "$shell" \ --shell "$shell" \
${createHome:+--create-home} ${createHome:+--create-home}
else else
echo "updating user $name..." #echo "updating user $name..."
oldIFS="$IFS"; IFS=:; set -- $curEnt; IFS="$oldIFS" oldIFS="$IFS"; IFS=:; set -- $curEnt; IFS="$oldIFS"
prevUid=$3 prevUid=$3
prevHome=$6 prevHome=$6

View File

@ -82,8 +82,6 @@ if test "$action" = "switch" -o "$action" = "test"; then
echo "restarting $event..." echo "restarting $event..."
stopJob $event stopJob $event
initctl start "$event" initctl start "$event"
else
echo "unchanged $event"
fi fi
done done
fi fi