~ubuntu-branches/ubuntu/saucy/ucarp/saucy

« back to all changes in this revision

Viewing changes to examples/linux/vip-down.sh

  • Committer: Bazaar Package Importer
  • Author(s): Eric Evans
  • Date: 2004-12-24 12:39:30 UTC
  • Revision ID: james.westby@ubuntu.com-20041224123930-9qnzcd6o5j0jjjvm
Tags: 1.1-2
Patched to correct a bug that caused upscript to also be applied
when state changed to BACKUP, if --dowscript was passed before
--upscript, (Closes: #284891). Thanks Michail Bachmann
<michail.bachmann@cms.hu-berlin.de>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
 
2
exec 2> /dev/null
2
3
 
3
 
exec /sbin/ip addr del 10.1.1.252/24 dev $1
 
4
/sbin/ip addr del 10.1.1.252/24 dev "$1"