dhcp-client-script: don't use /tmp
/tmp is a dangerous place and better to put log files in /var/log. Based on patch by Vasiliy Kulikov <segoon@openwall.com>
This commit is contained in:
parent
e557d1ac3a
commit
20ed7b24df
|
|
@ -14,7 +14,7 @@
|
|||
# we should install and preserve.
|
||||
#
|
||||
|
||||
exec >> /tmp/DHS.log 2>&1
|
||||
exec >> /var/log/DHS.log 2>&1
|
||||
|
||||
echo dhc-script $* reason=$reason
|
||||
set | grep "^\(old_\|new_\|check_\)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue