Files
finit/src
Joachim Wiberg d5bea7eeeb Re-concatenate string arguments to commands, ugly patch
This is quite possibly the ugliest pieces of code in this project.

It is a quick fix to the problem with strtok() to split up the cmd into
cmd + args[].  Without it wordexp() will later get very cranky about
trying to expand `"Partial` strings from commands like this:

    /sbin/udhcpc-wrapper.sh -f -S -V "myOS v9.99" -t 8 -T 5 -A 10 -R -p \
        /var/run/udhcpc-vlan1.pid -i vlan1 -x hostname:myos-12-34-50 -o \
	-O 1 -O 3 -O 6 -O 7 -O 12 -O 15 -O 42 -O 121 -a

Yes really.

It's an obviously far from perfect solution.  One might even start to
question why we have an args[64[64] per svc_t and not just a cmd + arg?

Well, there's a lot of improvement potential here, let's talk!

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-03-02 22:33:41 +01:00
..
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
…
…
2021-03-02 20:23:43 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-11 21:50:17 +01:00
2021-02-11 17:52:08 +01:00
2021-02-28 11:43:16 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-28 11:15:36 +01:00
2021-02-09 22:07:03 +01:00
2021-02-11 17:52:08 +01:00
2021-02-28 22:31:07 +01:00
…
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-14 04:31:51 +01:00
2021-02-14 04:31:51 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00