From 82d0f92ab8b84466ae20ab919c1f9c3577b5cecb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 22 May 2017 21:56:04 +0000 Subject: Initial commit --- layout/rootfs/etc/udhcpc/udhcpc-script | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 layout/rootfs/etc/udhcpc/udhcpc-script (limited to 'layout/rootfs/etc/udhcpc/udhcpc-script') diff --git a/layout/rootfs/etc/udhcpc/udhcpc-script b/layout/rootfs/etc/udhcpc/udhcpc-script new file mode 100755 index 0000000..9db2042 --- /dev/null +++ b/layout/rootfs/etc/udhcpc/udhcpc-script @@ -0,0 +1,4 @@ +#!/command/execlineb -S1 +ifelse { s6-test $# -ge 1 } { /etc/udhcpc/$1 } +if { fdmove -c 1 2 s6-echo "udhcpc-script: too few arguments" } +exit 1 -- cgit v1.2.3