mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
swmodd: 2.5.22
This commit is contained in:
parent
320d155a96
commit
5474007dcf
3 changed files with 13 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=swmodd
|
||||
PKG_VERSION:=2.5.21
|
||||
PKG_VERSION:=2.5.22
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -240,6 +240,13 @@ start_service() {
|
|||
boot=0
|
||||
fi
|
||||
|
||||
# crun default runtime directory /run, if not present then create
|
||||
if [ ! -d "/run" ]; then
|
||||
if [ ! -L "/run" ]; then
|
||||
ln -fs /var/run /run
|
||||
fi
|
||||
fi
|
||||
|
||||
config_load swmodd
|
||||
config_get root globals root ""
|
||||
config_get bridge globals lan_bridge "br-lan"
|
||||
|
|
|
|||
|
|
@ -88,7 +88,11 @@ start_service() {
|
|||
[ "${enabled}" -eq 0 ] && return 0
|
||||
|
||||
# crun default runtime directory /run, if not present then create
|
||||
[ ! -d "/run" ] && ln -fs /var/run /run
|
||||
if [ ! -d "/run" ]; then
|
||||
if [ ! -L "/run" ]; then
|
||||
ln -fs /var/run /run
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -L "${root}" ]; then
|
||||
if [ ! -d "${root}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue