tor: 0.2.0.22-rc -> 0.2.0.23-rc
This commit is contained in:
parent
2a1d64c4c8
commit
06ce5e02ab
@ -1,2 +1,2 @@
|
|||||||
9404ea3f6e4b01af01a34e95cd937723 tor-0.2.0.22-rc.tar.gz
|
feeda28383dc229ed8da9c8baf590f74 tor-0.2.0.23-rc.tar.gz
|
||||||
f9c115a1cf34b9f96aa2a20281c37b0c tor.rc
|
f9c115a1cf34b9f96aa2a20281c37b0c tor.rc
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Depends on: libevent openssl zlib
|
# Depends on: libevent openssl zlib
|
||||||
|
|
||||||
name=tor
|
name=tor
|
||||||
version=0.2.0.22-rc
|
version=0.2.0.23-rc
|
||||||
release=1
|
release=1
|
||||||
source=(http://tor.eff.org/dist/tor-$version.tar.gz \
|
source=(http://tor.eff.org/dist/tor-$version.tar.gz \
|
||||||
tor.rc)
|
tor.rc)
|
||||||
|
@ -28,9 +28,9 @@ if ! getent passwd $USER > /dev/null; then
|
|||||||
/usr/sbin/useradd -g $GROUP -c "$USER_COMMENT" -d $USER_HOME -s $USER_SHELL $USER
|
/usr/sbin/useradd -g $GROUP -c "$USER_COMMENT" -d $USER_HOME -s $USER_SHELL $USER
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "User: $USER added."
|
echo "User: $USER added."
|
||||||
/usr/bin/passwd -l $USER
|
/usr/bin/passwd -l $USER > /dev/null
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Locked $USER account."
|
echo "Locked: $USER account."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "ERROR: unable to lock $USER account."
|
echo "ERROR: unable to lock $USER account."
|
||||||
|
Loading…
Reference in New Issue
Block a user