chiark / gitweb /
Declare and document the dependency of hexterm on tcl8.4.
[chiark-utils.git] / sync-accounts / grab-account
index 2eef468eb1172b667b3fe17b2dbf6ec61be6eb3f..80032152793b7bf42f3b907bd890ee66507a9ae5 100755 (executable)
@@ -1,4 +1,25 @@
 #!/bin/sh
+# This is part of sync-accounts, a tool for synchronising UN*X password data.
+#
+# sync-accounts is
+#  Copyright 1999-2000,2002 Ian Jackson <ian@davenant.greenend.org.uk>
+#  Copyright 2000-2001 nCipher Corporation Ltd
+#
+#  sync-accounts is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU General Public License as
+#  published by the Free Software Foundation; either version 3, or (at
+#  your option) any later version.
+#
+#  sync-accounts is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  General Public License for more details.
+#
+#  You should already have a copy of the GNU General Public License.
+#  If not, consult the Free Software Foundation's website at
+#  www.fsf.org, or the GNU Project website at www.gnu.org.
+#
+# $Id: grab-account,v 1.5 2007-09-21 21:21:15 ianmdlvl Exp $
 
 set -e
 
@@ -7,7 +28,7 @@ then
        echo >&2 \
 'usage: grab-account <localuser> <shorthostname> [<remoteuser>]
 creates an entry in /etc/sync-accounts, and runs sync-accounts
-$Id: grab-account,v 1.1 1999-01-03 00:14:07 ian Exp $'
+$Id: grab-account,v 1.5 2007-09-21 21:21:15 ianmdlvl Exp $'
        exit 1
 fi
 
@@ -40,4 +61,4 @@ else
        echo "entry already exists in $cf, leaving alone"
 fi
 
-sync-accounts
+sync-accounts $sh