ipxripd should run in passive mode by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipxripd (Debian) |
Fix Released
|
Unknown
|
|||
ipxripd (Ubuntu) |
Invalid
|
Medium
|
MOTU |
Bug Description
ipxripd should run in passive mode by default, to prevent network disruption, because most of people run ipxripd just to get ipx routing info.
--- ipxripd.init 2006-02-06 21:36:50.000000000 +0700
+++ ipxripd.baru 2005-10-05 09:15:54.000000000 +0700
@@ -13,6 +13,7 @@
# Set run_ipxripd to 1 to start ipxripd at boot time, or to 0 to disable it.
run_ipxripd=1
+ipx_router=no
if [ $run_ipxripd = 0 ]; then
echo "IPX RIP/SAP daemon is disabled. Edit /etc/init.d/ipxripd to enable"
@@ -22,7 +23,12 @@
case "$1" in
start)
echo -n "Starting the IPX RIP/SAP daemon: ipxd"
- start-stop-daemon --start --exec $DAEMON
+ sleep 10
+ if [ "$ipx_router" = "yes" ]; then
+ start-stop-daemon --start --exec $DAEMON
+ else
+ start-stop-daemon --start --exec $DAEMON -- -p
+ fi
echo "."
;;
stop)
@@ -31,10 +37,9 @@
echo "."
;;
restart|
- echo -n "Restarting the IPX RIP/SAP daemon..."
- start-stop-daemon --stop --exec $DAEMON
+ $0 stop || true
sleep 2
- start-stop-daemon --start --exec $DAEMON
+ $0 start
echo " done."
;;
*)
Changed in ipxripd: | |
assignee: | nobody → motu |
Changed in ipxripd: | |
status: | Unknown → Unconfirmed |
Changed in ipxripd: | |
status: | New → Fix Released |
The package has been removed from Ubuntu (and Debian) since Hardy, so I am marking this as Invalid.