mirror of
https://github.com/openwrt/packages.git
synced 2025-12-25 11:30:15 +04:00
This commit contains the following:
* Update binary to version 1.6.1
* Update README URLs in the Makefile to link OpenWrt-specific info
* Separate the binary, the init script and netifd script into 3 packages:
nebula, nebula-service and nebula-proto accordingly
* implement yml parser for init script to fetch variables from it
* add the netifd script for nebula protocol
* update test file to address all built packages
* make the PKG_VERSION variable of init/proto scripts readonly
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 51902f9206)
9 lines
313 B
Bash
9 lines
313 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
nebula|nebula-cert) "/usr/sbin/${1}" -version 2>&1 | grep "$2"; return $?;;
|
|
nebula-proto) grep 'readonly PKG_VERSION=' /lib/netifd/proto/nebula.sh 2>&1 | grep "$2"; return $?;;
|
|
# nebula-service) "/etc/init.d/nebula" version 2>&1 | grep "$2"; return $?;;
|
|
nebula-service) return 0;;
|
|
esac
|