Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447536 - net-firewall/ebtables- deprecated use of opts in init.d script
Summary: net-firewall/ebtables- deprecated use of opts in init.d script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Peter Volkov (RETIRED)
Keywords: PATCH
Depends on:
Blocks: init.d-depr-opts
  Show dependency tree
Reported: 2012-12-17 00:34 UTC by Vincent Brillault
Modified: 2012-12-19 16:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Replace opts by extra_*commands (ebtables-initd.patch,409 bytes, patch)
2012-12-17 00:34 UTC, Vincent Brillault
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.