Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 447536

Summary: net-firewall/ebtables-2.0.10.4: deprecated use of opts in init.d script
Product: Gentoo Linux Reporter: Vincent Brillault <gentoo>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: trivial CC: creffett
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: Replace opts by extra_*commands

Description Vincent Brillault 2012-12-17 00:34:13 UTC
Created attachment 332526 [details, diff]
Replace opts by extra_*commands

The current init.d script still use the deprecated 'opts' variable. Running the init.d script results in the following output:
---
# /etc/init.d/ebtables save
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands, extra_started_commands or extra_stopped_commands.
 * Saving ebtables state ... [ ok ]
---

I have included a simple patch that change the 'opts' variable into the new extra_*commands ones.
Comment 1 Alexander Vershilov (RETIRED) gentoo-dev 2012-12-19 16:03:11 UTC
Fixed, thanks.