Initial LanUps implementation and native installers
This commit is contained in:
commit
67a043c89b
66 files changed
+2870
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Sourced by OpenWrt hotplug. A separate process owns the retry lock.
|
||||
case "${ACTION:-}:${PRODUCT:-}" in
|
||||
add:665/5161/*|add:0665/5161/*)
|
||||
if [ -f /etc/lanups/pending ] && [ -n "${DEVNAME:-}" ]; then
|
||||
(
|
||||
lock=/var/run/lanups-router-setup.lock
|
||||
mkdir "$lock" 2>/dev/null || exit 0
|
||||
trap 'rmdir "$lock"' EXIT
|
||||
sleep 2
|
||||
LANUPS_SKIP_PACKAGES=1 /usr/sbin/lanups-router 2>&1 | logger -t lanups-router
|
||||
) </dev/null >/dev/null 2>&1 &
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user