conn

A script repository to manage connections in Linux.
git clone git://r-36.net/conn
Log | Files | Refs | LICENSE

commit 2527ea4eb0fb5fc77e758634bd54cb1f23e75e57
parent 579cd65912785d0cc507747e4512b964d52a38f0
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat, 26 Nov 2011 18:33:15 +0100

Give the user a hint about root.

Diffstat:
bin/conn | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/bin/conn b/bin/conn @@ -1,5 +1,12 @@ #!/bin/sh +if [ ! $UID -eq 0 ]; +then + echo "conn is supposed to be run as root." + exit 1 +fi + cd /etc/conn ./run.sh $* +