
SYstems & NEtworks MAnagement TOOLS
vrrpd init script
This is the init script I use to startup the vrrpd daemon at boot time.
The script uses parameters in the /etc/default/vrrpd file to exec the vrrpd
daemon.
It has been tested with vrrpd 1.0 on Debian 3.1.
Download
vrrpdinit.tar It contains both /etc/init.d/vrrpd and /etc/default/vrrpd
Installation
- Download vrrpdinit.tar (for example into /root)
- Extract file from .tar:
cd /root
tar -xf vrrpdinit.tar
- Move vrrpd.init.d in /etc/init.d/vrrpd:
cd /etc/init.d
mv /root/vrrpd.init.d vrrpd
- Assign vrrpd the right permissions:
chown root:root vrrpd
chmod u=rwx,go=rx vrrpd
- Move vrrpd.default in /etc/default/vrrpd:
cd /etc/default
mv /root/vrrpd.default vrrpd
- Assign vrrpd the right permissions:
chown root:root vrrpd
chmod u=rw,go=r vrrpd
- Install the System-V init script links:
update-rc.d vrrpd defaults 15 85
- Edit /etc/default/vrrpd and set, at least, IPADDR and IFNAME
- Start (and stop) vrrpd using the init.d script:
invoke-rc.d vrrpd start
invoke-rc.d vrrpd stop
[Home-page]
[Contact me]
Many thanks to www.bolsenanew.it for web hosting!