fixed postins stdout
This commit is contained in:
parent
632dc3bf76
commit
400fd479a1
@ -27,8 +27,8 @@
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: guh daemon
|
||||
# Description: guh is an open source home automation server, which allows to
|
||||
# control a lot of different devices from many different manufacturers.
|
||||
# Description: guh is an open source home automation server, which allows to
|
||||
# control a lot of different devices from many different manufacturers.
|
||||
#
|
||||
### END INIT INFO
|
||||
|
||||
|
||||
6
debian/guhd.postinst
vendored
6
debian/guhd.postinst
vendored
@ -23,12 +23,12 @@
|
||||
# restart the guh daemon after update if it's running
|
||||
service guhd status > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -n "Restart guh daemon..."
|
||||
#echo -n "Restart guh daemon..."
|
||||
service guhd restart
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "OK!"
|
||||
echo "Successfully restarted guh daemon."
|
||||
else
|
||||
echo "FAIL!"
|
||||
echo "FAILED to restart guh daemon."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user