debian: Remove absolute path to xenstore-*

This commit is contained in:
Jason Mehring 2014-11-07 09:59:41 -05:00
parent cc26e26be8
commit 44230f7f35

View File

@ -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