yggdrasil-go/contrib/ui/nas-synology-dsm6.0/spk/scripts/postinst
vadym d8a4000141 1. added multipath protocol and schema suport
2. added SCTP protocol and schema support
3. added set of NAS models support (Asustor, ReadyNAS, Drobo, QNAP, WD, Synology, Terramaster)
4. moved to fc00::/7 private segment
5. added Windows, MacOS and Linux UI for peers edit and current status
2022-10-27 22:03:37 +03:00

17 lines
324 B
Bash

#!/bin/bash
DEBUG=true
SH="$(readlink /proc/$$/exe)"
if $DEBUG ; then
echo "" > /tmp/mesh.log
exec 2>>/tmp/mesh.log
SH="$SH -x"
set -x
fi
BASE="/var/packages/mesh/target"
LOG_FILE="$BASE/var/log/mesh.log"
ln -sf $LOG_FILE $BASE/www/log
ln -sf $BASE/dsm.mesh.conf /etc/nginx/conf.d/dsm.mesh.conf
nginx -s reload
exit 0