vm: hide unwanted warnings from xenstore-read
This commit is contained in:
parent
8d8ba556b3
commit
2999507321
@ -60,7 +60,7 @@ start()
|
|||||||
echo Back to life.
|
echo Back to life.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
start_meminfo_writer=$(/usr/bin/xenstore-read qubes-service/meminfo-writer)
|
start_meminfo_writer=$(/usr/bin/xenstore-read qubes-service/meminfo-writer 2>/dev/null)
|
||||||
if [ "$start_meminfo_writer" != "0" ]; then
|
if [ "$start_meminfo_writer" != "0" ]; then
|
||||||
MEM_CHANGE_THRESHOLD_KB=30000
|
MEM_CHANGE_THRESHOLD_KB=30000
|
||||||
MEMINFO_DELAY_USEC=100000
|
MEMINFO_DELAY_USEC=100000
|
||||||
|
@ -11,7 +11,7 @@ PIDFILE=/var/run/qubes/qubes_firewall.pid
|
|||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
type=$(/usr/bin/xenstore-read qubes_vm_type)
|
type=$(/usr/bin/xenstore-read qubes_vm_type)
|
||||||
start_firewall=$(/usr/bin/xenstore-read qubes-service/qubes-firewall)
|
start_firewall=$(/usr/bin/xenstore-read qubes-service/qubes-firewall 2> /dev/null)
|
||||||
if [ -z "$start_firewall" ] && [ "$type" == "ProxyVM" ] || [ "$start_firewall" == "1" ]; then
|
if [ -z "$start_firewall" ] && [ "$type" == "ProxyVM" ] || [ "$start_firewall" == "1" ]; then
|
||||||
echo -n $"Starting Qubes Firewall monitor:"
|
echo -n $"Starting Qubes Firewall monitor:"
|
||||||
/sbin/ethtool -K eth0 sg off
|
/sbin/ethtool -K eth0 sg off
|
||||||
|
@ -11,7 +11,7 @@ PIDFILE=/var/run/qubes/qubes_netwatcher.pid
|
|||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
type=$(/usr/bin/xenstore-read qubes_vm_type)
|
type=$(/usr/bin/xenstore-read qubes_vm_type)
|
||||||
start_netwatcher=$(/usr/bin/xenstore-read qubes-service/qubes-netwatcher)
|
start_netwatcher=$(/usr/bin/xenstore-read qubes-service/qubes-netwatcher 2>/dev/null)
|
||||||
if [ -z "$start_netwatcher" ] && [ "$type" == "ProxyVM" ] || [ "$start_netwatcher" == "1" ]; then
|
if [ -z "$start_netwatcher" ] && [ "$type" == "ProxyVM" ] || [ "$start_netwatcher" == "1" ]; then
|
||||||
echo -n $"Starting Qubes Network monitor:"
|
echo -n $"Starting Qubes Network monitor:"
|
||||||
/sbin/ethtool -K eth0 sg off
|
/sbin/ethtool -K eth0 sg off
|
||||||
|
Loading…
Reference in New Issue
Block a user