mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
subsys
This commit is contained in:
parent
704a605958
commit
401201217b
@ -16,7 +16,7 @@ start() {
|
|||||||
echo 'Service already running'
|
echo 'Service already running'
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo "agent" > /var/lock/subsys/agent.sh
|
echo "-" > /var/lock/subsys/agent.sh
|
||||||
echo 'Starting agent service...'
|
echo 'Starting agent service...'
|
||||||
chmod 666 /dev/ttyS0
|
chmod 666 /dev/ttyS0
|
||||||
"$SCRIPT" &> /dev/ttyS0 & echo $! > "$PIDFILE"
|
"$SCRIPT" &> /dev/ttyS0 & echo $! > "$PIDFILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user