source:
hybrid/trunk/nanobsd/files/tools/syslogd_flag.sh@
10123
Last change on this file since 10123 was 10123, checked in by , 13 years ago | |
---|---|
|
|
File size: 173 bytes |
Rev | Line | |
---|---|---|
1 | #!/bin/sh | |
2 | # Set hostname for syslogd -b flag | |
3 | ||
4 | HOST=`cat /etc/rc.conf.local | grep hostname | cut -d'"' -f2` | |
5 | sed -i "" -e /syslogd_flags=/s/localhost/${HOST}/ /etc/rc.conf | |
6 | ||
7 |
Note:
See TracBrowser
for help on using the repository browser.