Enforcing separation of the command and its args and full command paths

This commit is contained in:
2015-01-08 12:25:38 +03:00
parent 0ef5a664f7
commit 8bab91cc17
4 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,8 @@
cfg_iface="${service_name%%.*}"
service_type='oneshot'
service_command="ip link set $cfg_iface up"
service_command='/usr/bin/ip'
service_args="link set $cfg_iface up"
wait_for_iface() {
local iface="$1" timer='0' timeout='6'