mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-16 07:10:35 +08:00
Check script location
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user