diff options
author | ggilestro | 2019-07-10 20:46:28 +0100 |
---|---|---|
committer | ggilestro | 2019-07-10 20:46:28 +0100 |
commit | 9572eeffd804efb70121cb598a522a4ef2b9b6d5 (patch) | |
tree | e8812fbb1a34d70d21ea4285a5026af36c95ba84 | |
parent | 66ef88705bba030331982c10bbfb6b9d02029d9d (diff) | |
download | aur-9572eeffd804efb70121cb598a522a4ef2b9b6d5.tar.gz |
second attempt at fixing network installation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | ethoscope-device.install | 17 |
3 files changed, 10 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = ethoscope-device pkgdesc = A platform from monitoring animal behaviour in real time from a raspberry pi - Device version pkgver = r1702.g1c43fc3 - pkgrel = 4 + pkgrel = 5 url = http://lab.gilest.ro/ethoscope install = ethoscope-device.install arch = any @@ -2,7 +2,7 @@ pkgname=ethoscope-device pkgver=r1702.g1c43fc3 -pkgrel=4 +pkgrel=5 pkgdesc="A platform from monitoring animal behaviour in real time from a raspberry pi - Device version" arch=('any') url="http://lab.gilest.ro/ethoscope" @@ -37,7 +37,7 @@ package() { #install python service cd "${srcdir}/${pkgname}/src" #pip install -e . --install-option="--prefix=${pkgdir}" --no-deps - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python setup.py install --root="$pkgdir/" #install service files cd "${srcdir}"/"${pkgname}"/scripts/ diff --git a/ethoscope-device.install b/ethoscope-device.install index 8fc00ddfcaf3..fec302b52ced 100644 --- a/ethoscope-device.install +++ b/ethoscope-device.install @@ -45,16 +45,13 @@ post_install() { netctl enable ether netctl enable wlan - #netctl-auto is for wireless connections only - netctl-auto enable wlan0 - netctl-auto start wlan0 - systemctl enable netctl-auto@wlan0.service - systemctl start netctl-auto@wlan0.service - - systemctl enable netctl@eth0.service - systemctl start netctl@eth0.service - systemctl enable netctl-ifplugd@eth0.service - systemctl start netctl-ifplugd@eth0.service + #netctl-auto is for wireless connections only, ifplugd for wired + netctl-auto enable wlan + systemctl start netctl-auto@wlan + systemctl enable netctl-auto@wlan0 + + systemctl enable netctl-ifplugd@eth0 + systemctl start netctl-ifplugd@eth0 echo "configure the NTP file" echo 'server node' > /etc/ntp.conf |