From: Ben Hutchings Date: Thu, 28 Jan 2016 21:09:18 +0000 (+0000) Subject: HACK: Add dummy script that logs its arguments and environment X-Git-Tag: debian/1.1+git20160131-1~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d25fc83e0799ea1126d4ed5d1c51a12abf933176;p=odhcp6c.git HACK: Add dummy script that logs its arguments and environment --- diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..060f7cd --- /dev/null +++ b/debian/TODO @@ -0,0 +1 @@ +Add an odhcpc-update suitable for Debian. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..04897c9 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +debian/odhcp6c-update /usr/sbin diff --git a/debian/odhcp6c-update b/debian/odhcp6c-update new file mode 100644 index 0000000..6d1d00d --- /dev/null +++ b/debian/odhcp6c-update @@ -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 ---