Enforcing separation of the command and its args and full command paths
This commit is contained in:
@@ -8,5 +8,5 @@ fi
|
||||
[[ "$cfg_hostname" ]] || { cfg_hostname='localhost'; }
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='hostname'
|
||||
service_command='/usr/bin/hostname'
|
||||
service_args="$cfg_hostname"
|
||||
|
Reference in New Issue
Block a user