mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 09:27:45 +08:00
Check script location
This commit is contained in:
parent
09e2e798a2
commit
e6eaa03fb0
@ -23,7 +23,7 @@ start() {
|
|||||||
echo 'Starting agent service...'
|
echo 'Starting agent service...'
|
||||||
chmod 666 /dev/ttyS0
|
chmod 666 /dev/ttyS0
|
||||||
|
|
||||||
if [ -f "$SCRIPT" ]; then
|
if [ ! -f "$SCRIPT" ]; then
|
||||||
|
|
||||||
echo 'ERROR: Agent script not found!' > /dev/ttyS0
|
echo 'ERROR: Agent script not found!' > /dev/ttyS0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user