Commit 2611ad83ba7e4bfce214e55607f5fc86d4cbc773

Authored by Eric Lee
1 parent 5fe58ebd53
Exists in master

Add ifplugd daemon so that dhcp will update lease when Ethernet cable re-plugged

Showing 3 changed files with 66 additions and 0 deletions Inline Diff

recipes-connectivity/ifplugd/files/ifplugd.conf
File was created 1 # -*-sh-*-
2 # $Id: ifplugd.conf 43 2003-09-13 11:25:11Z lennart $
3
4 # This file is part of ifplugd.
5 #
6 # ifplugd is free software; you can redistribute it and/or modify it under
7 # the terms of the GNU General Public License as published by the Free
8 # Software Foundation; either version 2 of the License, or (at your
9 # option) any later version.
10 #
11 # ifplugd is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with ifplugd; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19
20 # ifplugd configuration file
21
22 # Please note that this is a bourne shell fragment sourced by the
23 # init script of ifplugd.
24
25 # Specify the interfaces to control here, separated by spaces.
26 # Ifplugd processes will be started for each of these interfaces when
27 # the ifplugd init script is called with the "start" argument. You may
28 # use the magic string "auto" to make the init script start or stop
29 # ifplugd processes for ALL eth and wlan interfaces that are available
30 # according to /proc/net/dev. Note that the list of interfaces
31 # appearing in /proc/net/dev may depend on which kernel modules you
32 # have loaded.
33 INTERFACES="eth0"
34
35 # Additional parameters for ifplugd.
36 # (Run "ifplugd -h" for further information.)
37 ARGS="-fwI -u0 -d10"
38
39 # Additional parameters for ifplugd for the specified interface. Note
40 # that $ARGS is ignored, when a variable like this is set for an
41 # interface
42 #ARGS_wlan0="-MwI -u5 -d5"
43
recipes-connectivity/ifplugd/ifplugd_0.28.bb
File was created 1 LICENSE = "GPLv2"
2 SUMMARY = "Daemon for monitoring ethernet device link state"
3 DEPENDS = "libdaemon"
4 LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6 SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz;name=u1 \
7 file://ifplugd.conf"
8
9 SRC_URI[u1.md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
10 SRC_URI[u1.sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"
11
12 EXTRA_OECONF_append = "--disable-lynx"
13
14
15 INITSCRIPT_PACKAGES = "${PN}"
16 INITSCRIPT_NAME_${PN} = "${PN}"
17 INITSCRIPT_PARAMS_${PN} = "defaults 90"
18
19 do_install_append() {
20 install -m 644 ${WORKDIR}/ifplugd.conf ${D}${sysconfdir}/ifplugd/
21 }
22
23 inherit autotools update-rc.d
24
recipes-core/packagegroups/packagegroup-arago-smarct335x-sdk.bb
1 DESCRIPTION = "Target packages for the Embedian SMARC T335X standalone SDK" 1 DESCRIPTION = "Target packages for the Embedian SMARC T335X standalone SDK"
2 2
3 PR = "r15" 3 PR = "r15"
4 LICENSE = "MIT" 4 LICENSE = "MIT"
5 5
6 inherit packagegroup 6 inherit packagegroup
7 7
8 RDEPENDS_${PN} = "\ 8 RDEPENDS_${PN} = "\
9 sudo \ 9 sudo \
10 screen \ 10 screen \
11 boost \ 11 boost \
12 nodejs \ 12 nodejs \
13 tzdata \ 13 tzdata \
14 ntp \ 14 ntp \
15 lftp \ 15 lftp \
16 vim \ 16 vim \
17 procps \ 17 procps \
18 git \ 18 git \
19 cronie \ 19 cronie \
20 rsyslog \ 20 rsyslog \
21 ifplugd \
21 gcc \ 22 gcc \
22 " 23 "
23 24