Compare commits

...

2 commits

2 changed files with 10 additions and 6 deletions

View file

@ -1,9 +1,13 @@
ARCH=arm
VERSION=1.29.0
CCPREFIX=arm-linux-gnueabihf-
ARCH = arm
VERSION = 1.29.0
ENABLE_UDEV ?= t
CCPREFIX = arm-linux-gnueabihf-
SRC := $(shell find src -type f | tail -n+2)
SRC_REL := $(shell cd src && find ./ -type f)
SRC := src/usr/local/syncthing/start.sh src/usr/local/syncthing/stop.sh
ifeq ($(ENABLE_UDEV),t)
SRC += src/etc/udev/rules.d/99-syncthing.rules
endif
SRC_REL := $(subst src/,./,$(SRC))
TARCONTENT :=
all: KoboRoot.tgz

View file

@ -1,2 +1,2 @@
KERNEL=="eth*", ACTION=="add", RUN+="/usr/local/syncthing/start.sh"
KERNEL=="wlan*", ACTION=="add", RUN+="/usr/local/syncthing/start.sh"
KERNEL=="wlan*", ACTION=="remove", RUN+="/usr/local/syncthing/stop.sh"