Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's suppose that the name of the file is "offload_off_eth1.txt". In this case running it on system startup can be done in the following ways:

On Red Hat Linux:

cat offload_off_eth1.txt >> /etc/rc.d/rc.local

On Fedora Core:

echo '#!/usr/bin/bash' > /etc/rc.d/rc.local       (warning) Do not use double quotes, use single ones
# cat offload_off_eth1.txt >> /etc/rc.d/rc.local
# chmod 755 /etc/rc.d/rc.local 
# ln -s /usr/lib/systemd/system/rc-local.service /etc/systemd/system/rc-local.service 
# systemctl daemon-reload


Back to Table of Contents

...