mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 17:07:58 +08:00
Package installation
This commit is contained in:
parent
6478fa4412
commit
d650e8d46f
@ -28,7 +28,7 @@ function checkNMI {
|
||||
|
||||
finish() {
|
||||
|
||||
echo "Shutting down agent.." > /dev/ttyS0
|
||||
echo "Shutting down vDSM Guest Agent.." > /dev/ttyS0
|
||||
exit
|
||||
|
||||
}
|
||||
@ -54,12 +54,12 @@ if [ "$first_run" = true ]; then
|
||||
for filename in /usr/local/packages/*.spk; do
|
||||
if [ -f "$filename" ]; then
|
||||
|
||||
/usr/syno/bin/synopkg install "$filename" > /dev/null
|
||||
/usr/syno/bin/synopkg install "$filename" > /dev/ttyS0
|
||||
|
||||
BASE=$(basename "$filename" .spk)
|
||||
BASE="${BASE%%-*}"
|
||||
|
||||
/usr/syno/bin/synopkg start "$BASE" > /dev/null
|
||||
/usr/syno/bin/synopkg start "$BASE" > /dev/ttyS0
|
||||
|
||||
rm "$filename"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user