mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Some trivial changes for the tool scripts:
- make xen-hotplug-common.sh (un)set locales. - use xen-hotplug-common.sh in vif-bridge. From Gerd Knorr <kraxel@suse.de>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
db6435aaa8
commit
c8a1f1c7fc
2 files changed
+5
-6
No files matched your search
@@ -31,11 +31,8 @@
|
||||
# rules for its ip addresses (if any).
|
||||
#============================================================================
|
||||
|
||||
# Exit if anything goes wrong
|
||||
set -e
|
||||
export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
|
||||
|
||||
echo "*vif-bridge $*" >&2
|
||||
dir=$(dirname "$0")
|
||||
. "$dir/xen-hotplug-common.sh"
|
||||
|
||||
# Operation name.
|
||||
OP=$1
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
set -e
|
||||
|
||||
export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
|
||||
export PATH="/sbin:/bin:/usr/bin:/usr/sbin:$PATH"
|
||||
export LANG="POSIX"
|
||||
unset $(set | grep ^LC_ | cut -d= -f1)
|
||||
|
||||
log() {
|
||||
local level="$1"
|
||||
|
||||