Quote:
Originally Posted by anbu23
sed 's/syslogd \"\$src_running\" /& "-N"' rc.tcpip > ./temp
if this doesn't solve your problem can you show me your input file?
Hi
its still not working !!
i've been scratching my head all day over it !
Here is a part of the rc.tcpip file - just the one line needs changed:
# Start up syslog daemon (for error and event logging)
start /usr/sbin/syslogd "$src_running"
# Start up print daemon
#start /usr/sbin/lpd "$src_running"
# Start up routing daemon (only start ONE)
#start /usr/sbin/routed "$src_running" -q
#start /usr/sbin/gated "$src_running"
And I used your command:
sed 's/syslogd \"\$src_running\" /& "-N"/' rc.tcpip > ./temp
root > cat temp|grep -i syslogd
start /usr/sbin/syslogd "$src_running"