Commits

Bryan O'Sullivan  committed b820082

Undo FC1 badness.

  • Participants
  • Parent commits 06d83e2

Comments (0)

Files changed (2)

File netplug.spec

-%define version 1.2.3
+%define version 1.2.5
 %define release 1
 %define sysconfig %{_sysconfdir}/sysconfig/network-scripts
 

File scripts/netplug

     ;;
 out)
     if [ -x /sbin/ifdown ]; then
-	/sbin/ifdown $dev && exec /sbin/ip addr flush $dev
+	# At least on Fedora Core 1, the call to ip addr flush infloops
+	# /sbin/ifdown $dev && exec /sbin/ip addr flush $dev
+	exec /sbin/ifdown $dev
     else
 	echo "Please teach me how to unplug an interface!" 1>&2
 	exit 1