Check to see if /usr/bin/logger exists before using it. Use "echo" if
/usr/bin/logger is not available. Noticed from: error messages in -CURRENT's sysinstall Alt-F2 debug screen
This commit is contained in:
parent
d64292d252
commit
b5654446c3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49597
@ -1,6 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
LOGGER="/usr/bin/logger -s -p user.notice -t dhclient"
|
||||
if [ -x /usr/bin/logger ]; then
|
||||
LOGGER="/usr/bin/logger -s -p user.notice -t dhclient"
|
||||
else
|
||||
LOGGER=echo
|
||||
fi
|
||||
|
||||
make_resolv_conf() {
|
||||
echo search $new_domain_name >/etc/resolv.conf
|
||||
|
Loading…
Reference in New Issue
Block a user