aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.BSD/Makefile5
-rw-r--r--net.FreeBSD/Makefile5
-rw-r--r--net.Linux/Makefile7
-rw-r--r--net/Makefile3
-rw-r--r--net/Makefile.FreeBSD6
-rw-r--r--net/Makefile.Linux8
-rw-r--r--net/Makefile.NetBSD4
-rw-r--r--net/adsl.sh (renamed from net.Linux/adsl.sh)0
-rw-r--r--net/apipa.sh (renamed from net.Linux/apipa.sh)0
-rw-r--r--net/arping.sh (renamed from net.Linux/arping.sh)0
-rw-r--r--net/bonding.sh (renamed from net.Linux/bonding.sh)0
-rw-r--r--net/br2684ctl.sh (renamed from net.Linux/br2684ctl.sh)0
-rw-r--r--net/bridge.sh (renamed from net.Linux/bridge.sh)0
-rw-r--r--net/ccwgroup.sh (renamed from net.Linux/ccwgroup.sh)0
-rw-r--r--net/clip.sh (renamed from net.Linux/clip.sh)0
-rw-r--r--net/ifconfig.sh.BSD.in (renamed from net.BSD/ifconfig.sh)0
-rw-r--r--net/ifconfig.sh.Linux.in (renamed from net.Linux/ifconfig.sh)0
-rw-r--r--net/ifplugd.sh (renamed from net.Linux/ifplugd.sh)0
-rw-r--r--net/ip6to4.sh (renamed from net.Linux/ip6to4.sh)0
-rw-r--r--net/ipppd.sh (renamed from net.Linux/ipppd.sh)0
-rw-r--r--net/iproute2.sh (renamed from net.Linux/iproute2.sh)0
-rw-r--r--net/iwconfig.sh.BSD.in (renamed from net.FreeBSD/iwconfig.sh)0
-rw-r--r--net/iwconfig.sh.Linux.in (renamed from net.Linux/iwconfig.sh)0
-rw-r--r--net/netplugd.sh (renamed from net.Linux/netplugd.sh)0
-rw-r--r--net/pppd.sh (renamed from net.Linux/pppd.sh)0
-rw-r--r--net/pump.sh (renamed from net.Linux/pump.sh)0
-rw-r--r--net/tuntap.sh (renamed from net.Linux/tuntap.sh)0
-rw-r--r--net/udhcpc.sh (renamed from net.Linux/udhcpc.sh)0
-rw-r--r--net/vlan.sh (renamed from net.Linux/vlan.sh)0
29 files changed, 19 insertions, 19 deletions
diff --git a/net.BSD/Makefile b/net.BSD/Makefile
deleted file mode 100644
index 95391e8f..00000000
--- a/net.BSD/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-DIR= ${PREFIX}/${RC_LIB}/net
-INC= ifconfig.sh
-
-MK= ../mk
-include ${MK}/scripts.mk
diff --git a/net.FreeBSD/Makefile b/net.FreeBSD/Makefile
deleted file mode 100644
index da75fc37..00000000
--- a/net.FreeBSD/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-DIR= ${PREFIX}/${RC_LIB}/net
-INC= iwconfig.sh
-
-MK= ../mk
-include ${MK}/scripts.mk
diff --git a/net.Linux/Makefile b/net.Linux/Makefile
deleted file mode 100644
index 628f5f40..00000000
--- a/net.Linux/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-DIR= ${PREFIX}/${RC_LIB}/net
-INC= adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh ccwgroup.sh \
- clip.sh ifconfig.sh ifplugd.sh ip6to4.sh ipppd.sh iproute2.sh \
- iwconfig.sh netplugd.sh pppd.sh pump.sh tuntap.sh udhcpc.sh vlan.sh
-
-MK= ../mk
-include ${MK}/scripts.mk
diff --git a/net/Makefile b/net/Makefile
index 677bd2f7..bde659e1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,5 +1,6 @@
DIR= ${PREFIX}/${RC_LIB}/net
-INC= dhclient.sh dhcpcd.sh macchanger.sh macnet.sh \
+SRCS= ifconfig.sh.in
+INC= dhclient.sh dhcpcd.sh ifconfig.sh macchanger.sh macnet.sh \
ssidnet.sh system.sh wpa_supplicant.sh
MK= ../mk
diff --git a/net/Makefile.FreeBSD b/net/Makefile.FreeBSD
index e69de29b..cd1a6712 100644
--- a/net/Makefile.FreeBSD
+++ b/net/Makefile.FreeBSD
@@ -0,0 +1,6 @@
+SRCS+= iwconfig.sh.in
+INC+= iwconfig.sh
+
+.SUFFIXES: .sh.BSD.in
+.sh.BSD.in.sh:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/net/Makefile.Linux b/net/Makefile.Linux
index e69de29b..1a496c73 100644
--- a/net/Makefile.Linux
+++ b/net/Makefile.Linux
@@ -0,0 +1,8 @@
+SRCS+= iwconfig.sh.in
+INC+= adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh \
+ ccwgroup.sh iproute2.sh ifplugd.sh ip6to4.sh ipppd.sh \
+ iwconfig.sh netplugd.sh pppd.sh tuntap.sh udhcpc.sh vlan.sh
+
+.SUFFIXES: .sh.Linux.in
+.sh.Linux.in.sh:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/net/Makefile.NetBSD b/net/Makefile.NetBSD
index cda89ef9..2ff47505 100644
--- a/net/Makefile.NetBSD
+++ b/net/Makefile.NetBSD
@@ -1 +1,3 @@
-INC+= ifwatchd.sh
+.SUFFIXES: .sh.BSD.in
+.sh.BSD.in.sh:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/net.Linux/adsl.sh b/net/adsl.sh
index 6dd93e03..6dd93e03 100644
--- a/net.Linux/adsl.sh
+++ b/net/adsl.sh
diff --git a/net.Linux/apipa.sh b/net/apipa.sh
index 39da392e..39da392e 100644
--- a/net.Linux/apipa.sh
+++ b/net/apipa.sh
diff --git a/net.Linux/arping.sh b/net/arping.sh
index 8046c47d..8046c47d 100644
--- a/net.Linux/arping.sh
+++ b/net/arping.sh
diff --git a/net.Linux/bonding.sh b/net/bonding.sh
index 69de32aa..69de32aa 100644
--- a/net.Linux/bonding.sh
+++ b/net/bonding.sh
diff --git a/net.Linux/br2684ctl.sh b/net/br2684ctl.sh
index 11ee4f55..11ee4f55 100644
--- a/net.Linux/br2684ctl.sh
+++ b/net/br2684ctl.sh
diff --git a/net.Linux/bridge.sh b/net/bridge.sh
index 517fe72d..517fe72d 100644
--- a/net.Linux/bridge.sh
+++ b/net/bridge.sh
diff --git a/net.Linux/ccwgroup.sh b/net/ccwgroup.sh
index d40e7139..d40e7139 100644
--- a/net.Linux/ccwgroup.sh
+++ b/net/ccwgroup.sh
diff --git a/net.Linux/clip.sh b/net/clip.sh
index 78344d23..78344d23 100644
--- a/net.Linux/clip.sh
+++ b/net/clip.sh
diff --git a/net.BSD/ifconfig.sh b/net/ifconfig.sh.BSD.in
index 6f961776..6f961776 100644
--- a/net.BSD/ifconfig.sh
+++ b/net/ifconfig.sh.BSD.in
diff --git a/net.Linux/ifconfig.sh b/net/ifconfig.sh.Linux.in
index f82f25c3..f82f25c3 100644
--- a/net.Linux/ifconfig.sh
+++ b/net/ifconfig.sh.Linux.in
diff --git a/net.Linux/ifplugd.sh b/net/ifplugd.sh
index db7007ae..db7007ae 100644
--- a/net.Linux/ifplugd.sh
+++ b/net/ifplugd.sh
diff --git a/net.Linux/ip6to4.sh b/net/ip6to4.sh
index d58eb31f..d58eb31f 100644
--- a/net.Linux/ip6to4.sh
+++ b/net/ip6to4.sh
diff --git a/net.Linux/ipppd.sh b/net/ipppd.sh
index cf4558d2..cf4558d2 100644
--- a/net.Linux/ipppd.sh
+++ b/net/ipppd.sh
diff --git a/net.Linux/iproute2.sh b/net/iproute2.sh
index de765378..de765378 100644
--- a/net.Linux/iproute2.sh
+++ b/net/iproute2.sh
diff --git a/net.FreeBSD/iwconfig.sh b/net/iwconfig.sh.BSD.in
index 3a276cda..3a276cda 100644
--- a/net.FreeBSD/iwconfig.sh
+++ b/net/iwconfig.sh.BSD.in
diff --git a/net.Linux/iwconfig.sh b/net/iwconfig.sh.Linux.in
index 1610cba3..1610cba3 100644
--- a/net.Linux/iwconfig.sh
+++ b/net/iwconfig.sh.Linux.in
diff --git a/net.Linux/netplugd.sh b/net/netplugd.sh
index eed37aae..eed37aae 100644
--- a/net.Linux/netplugd.sh
+++ b/net/netplugd.sh
diff --git a/net.Linux/pppd.sh b/net/pppd.sh
index abee058d..abee058d 100644
--- a/net.Linux/pppd.sh
+++ b/net/pppd.sh
diff --git a/net.Linux/pump.sh b/net/pump.sh
index 4ab79293..4ab79293 100644
--- a/net.Linux/pump.sh
+++ b/net/pump.sh
diff --git a/net.Linux/tuntap.sh b/net/tuntap.sh
index 3174d812..3174d812 100644
--- a/net.Linux/tuntap.sh
+++ b/net/tuntap.sh
diff --git a/net.Linux/udhcpc.sh b/net/udhcpc.sh
index 462f0588..462f0588 100644
--- a/net.Linux/udhcpc.sh
+++ b/net/udhcpc.sh
diff --git a/net.Linux/vlan.sh b/net/vlan.sh
index 7d77aae8..7d77aae8 100644
--- a/net.Linux/vlan.sh
+++ b/net/vlan.sh