summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/hotplug.d
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/hotplug.d')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net2
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount3
2 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
index b68ec1b..f306ae3 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
find_name()
{
for ifname in lan wan wifi ${ifnames}; do
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount b/openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount
index c28ada2..c4d356b0 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount
+++ b/openwrt/package/base-files/default/etc/hotplug.d/usb/01-mount
@@ -1,3 +1,6 @@
+#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
mount_storage() {
cd /dev/discs
for dev in disc*; do