projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba2832
)
Get filelist from the commandline instead of hardcoding it
author
Peter Palfrader
<peter@palfrader.org>
Wed, 27 May 2009 19:03:43 +0000
(21:03 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 27 May 2009 19:03:43 +0000
(21:03 +0200)
modules/geodns/files/common/recvconf
patch
|
blob
|
history
diff --git
a/modules/geodns/files/common/recvconf
b/modules/geodns/files/common/recvconf
index
e3acbd3
..
df312e8
100755
(executable)
--- a/
modules/geodns/files/common/recvconf
+++ b/
modules/geodns/files/common/recvconf
@@
-9,8
+9,14
@@
set -u
## This text is released under the "three-clause BSD license".
## The full text of the license is available at the end of this file.
+if [ "$#" != 1 ]; then
+ echo "Usage: $0 <recvconf.files>" >&2
+ exit 1
+fi
+
+FILELIST="$1"
+
printf "\nrecvconf on %s processing:\n" "$(hostname -s)"
-FILELIST=/etc/NOREPLY/recvconf.files
temptar="$(mktemp)"
chmod 0600 "$temptar"