31 lines
940 B
Diff
31 lines
940 B
Diff
--- Makefile
|
|
+++ Makefile
|
|
@@ -85,7 +85,7 @@
|
|
|
|
.PHONY: libebtc
|
|
libebtc: $(OBJECTS2)
|
|
- $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
|
|
+ $(LD) -shared -Wl,-soname -Wl,libebtc.so -o libebtc.so -lc $(OBJECTS2)
|
|
|
|
ebtables: $(OBJECTS) ebtables-standalone.o libebtc
|
|
$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
|
|
--- ebtables.sysv
|
|
+++ ebtables.sysv
|
|
@@ -11,6 +11,16 @@
|
|
#
|
|
# config: __SYSCONFIG__/ebtables (text)
|
|
# __SYSCONFIG__/ebtables.<table> (binary)
|
|
+### BEGIN INIT INFO
|
|
+# Provides: eptables
|
|
+# Required-Start: $remote_fs $network
|
|
+# Required-Stop: $remote_fs $network
|
|
+# Short-Description: Ethernet Bridge filter tables
|
|
+# Description: Ethernet Bridge filter tables
|
|
+# Default-Start: 2 3 5
|
|
+# Default-Stop: 0 1 6
|
|
+### END INIT INFO
|
|
+
|
|
|
|
source /etc/init.d/functions
|
|
source /etc/sysconfig/network
|