From d25fc83e0799ea1126d4ed5d1c51a12abf933176 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 28 Jan 2016 21:09:18 +0000 Subject: [PATCH] HACK: Add dummy script that logs its arguments and environment --- debian/TODO | 1 + debian/install | 1 + debian/odhcp6c-update | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 debian/TODO create mode 100644 debian/install create mode 100644 debian/odhcp6c-update 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 --- -- 2.39.5