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 similarity index 100% rename from net.Linux/adsl.sh rename to net/adsl.sh diff --git a/net.Linux/apipa.sh b/net/apipa.sh similarity index 100% rename from net.Linux/apipa.sh rename to net/apipa.sh diff --git a/net.Linux/arping.sh b/net/arping.sh similarity index 100% rename from net.Linux/arping.sh rename to net/arping.sh diff --git a/net.Linux/bonding.sh b/net/bonding.sh similarity index 100% rename from net.Linux/bonding.sh rename to net/bonding.sh diff --git a/net.Linux/br2684ctl.sh b/net/br2684ctl.sh similarity index 100% rename from net.Linux/br2684ctl.sh rename to net/br2684ctl.sh diff --git a/net.Linux/bridge.sh b/net/bridge.sh similarity index 100% rename from net.Linux/bridge.sh rename to net/bridge.sh diff --git a/net.Linux/ccwgroup.sh b/net/ccwgroup.sh similarity index 100% rename from net.Linux/ccwgroup.sh rename to net/ccwgroup.sh diff --git a/net.Linux/clip.sh b/net/clip.sh similarity index 100% rename from net.Linux/clip.sh rename to net/clip.sh diff --git a/net.BSD/ifconfig.sh b/net/ifconfig.sh.BSD.in similarity index 100% rename from net.BSD/ifconfig.sh rename to net/ifconfig.sh.BSD.in diff --git a/net.Linux/ifconfig.sh b/net/ifconfig.sh.Linux.in similarity index 100% rename from net.Linux/ifconfig.sh rename to net/ifconfig.sh.Linux.in diff --git a/net.Linux/ifplugd.sh b/net/ifplugd.sh similarity index 100% rename from net.Linux/ifplugd.sh rename to net/ifplugd.sh diff --git a/net.Linux/ip6to4.sh b/net/ip6to4.sh similarity index 100% rename from net.Linux/ip6to4.sh rename to net/ip6to4.sh diff --git a/net.Linux/ipppd.sh b/net/ipppd.sh similarity index 100% rename from net.Linux/ipppd.sh rename to net/ipppd.sh diff --git a/net.Linux/iproute2.sh b/net/iproute2.sh similarity index 100% rename from net.Linux/iproute2.sh rename to net/iproute2.sh diff --git a/net.FreeBSD/iwconfig.sh b/net/iwconfig.sh.BSD.in similarity index 100% rename from net.FreeBSD/iwconfig.sh rename to net/iwconfig.sh.BSD.in diff --git a/net.Linux/iwconfig.sh b/net/iwconfig.sh.Linux.in similarity index 100% rename from net.Linux/iwconfig.sh rename to net/iwconfig.sh.Linux.in diff --git a/net.Linux/netplugd.sh b/net/netplugd.sh similarity index 100% rename from net.Linux/netplugd.sh rename to net/netplugd.sh diff --git a/net.Linux/pppd.sh b/net/pppd.sh similarity index 100% rename from net.Linux/pppd.sh rename to net/pppd.sh diff --git a/net.Linux/pump.sh b/net/pump.sh similarity index 100% rename from net.Linux/pump.sh rename to net/pump.sh diff --git a/net.Linux/tuntap.sh b/net/tuntap.sh similarity index 100% rename from net.Linux/tuntap.sh rename to net/tuntap.sh diff --git a/net.Linux/udhcpc.sh b/net/udhcpc.sh similarity index 100% rename from net.Linux/udhcpc.sh rename to net/udhcpc.sh diff --git a/net.Linux/vlan.sh b/net/vlan.sh similarity index 100% rename from net.Linux/vlan.sh rename to net/vlan.sh