]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
HACK: Add dummy script that logs its arguments and environment
authorBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 21:09:18 +0000 (21:09 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 21:23:21 +0000 (21:23 +0000)
debian/TODO [new file with mode: 0644]
debian/install [new file with mode: 0644]
debian/odhcp6c-update [new file with mode: 0644]

diff --git a/debian/TODO b/debian/TODO
new file mode 100644 (file)
index 0000000..060f7cd
--- /dev/null
@@ -0,0 +1 @@
+Add an odhcpc-update suitable for Debian.
diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..04897c9
--- /dev/null
@@ -0,0 +1 @@
+debian/odhcp6c-update /usr/sbin
diff --git a/debian/odhcp6c-update b/debian/odhcp6c-update
new file mode 100644 (file)
index 0000000..6d1d00d
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+umask 007
+exec >> /var/log/odhcp6c.log
+echo -n "Date: "; date
+echo -n "Command: "; echo "$0" "$@"
+echo "Environment:"
+env
+echo ---