Changing Syslogd

Is there any way to make a permanent change to /etc/init.d/syslogd (it seems to be on the read only file system) ?

I want to change the destination to my syslog server (rather than default 192.168.1.254), so I know the change that is needed is to add -L -R 192.168.1.1.

 

Thanks

Member for

16 years 10 months

brett

13 years 2 months ago

The /etc directory is read-write so delete the linkage and copy in the file its pointing to modify it as you wish.

# ls -l /etc/init.d/syslogd
lrwxrwxrwx    1 root     root           25 Jan  1  1970 /etc/init.d/syslogd -> /etc_ro_fs/init.d/syslogd
#

Brett

Member for

15 years 2 months

andy_godber

13 years 2 months ago

thx