mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Package selection
This commit is contained in:
commit
156939e8fe
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -u
|
||||
|
||||
VERSION="5"
|
||||
VERSION="6"
|
||||
HEADER="VirtualDSM Agent"
|
||||
|
||||
# Functions
|
||||
@ -80,6 +80,10 @@ function installPackages {
|
||||
BASE=$(basename "$filename" .spk)
|
||||
BASE="${BASE%%-*}"
|
||||
|
||||
[[ $BASE == "ScsiTarget" ]] && continue
|
||||
[[ $BASE == "DhcpServer" ]] && continue
|
||||
[[ $BASE == "ActiveInsight" ]] && continue
|
||||
|
||||
echo "$HEADER: Installing package ${BASE}.."
|
||||
|
||||
/usr/syno/bin/synopkg install "$filename" > /dev/null
|
||||
|
@ -163,7 +163,7 @@ cp /agent/service.sh $LOC/agent.sh
|
||||
chmod 755 $LOC/agent.sh
|
||||
|
||||
# Store agent version
|
||||
echo "5" > "$STORAGE"/"$BASE".agent
|
||||
echo "6" > "$STORAGE"/"$BASE".agent
|
||||
|
||||
echo "Install: Installing system partition..."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user