debian: Remove absolute path to xenstore-*
This commit is contained in:
parent
cc26e26be8
commit
44230f7f35
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ x$2 == xup ]; then
|
if [ x$2 == xup ]; then
|
||||||
INET=$(/sbin/ip addr show dev $1 | /bin/grep inet)
|
INET=$(/sbin/ip addr show dev $1 | /bin/grep inet)
|
||||||
/usr/bin/xenstore-write qubes-netvm-external-ip "$INET"
|
xenstore-write qubes-netvm-external-ip "$INET"
|
||||||
fi
|
fi
|
||||||
if [ x$2 == xdown ]; then
|
if [ x$2 == xdown ]; then
|
||||||
/usr/bin/xenstore-write qubes-netvm-external-ip ""
|
xenstore-write qubes-netvm-external-ip ""
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user