]> git.proxmox.com Git - pve-common.git/commit - data/PVE/ProcFSTools.pm
correctly copy bridge config
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 26 Feb 2014 06:47:10 +0000 (07:47 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 26 Feb 2014 06:47:10 +0000 (07:47 +0100)
commit0758d0928c035e4447e657f8dab499f1a09e2c65
treea27d3e687a3276524fd0cecc0cd631a059fb2f9c
parent113cfc6a0d569d5eb28d7d6f1cdee98a0e6b8ac5
correctly copy bridge config

Simply use IO::File to write /proc/xyz files instead of running
external program using system("echo ...") (which fails when running
in perl taint mode).
data/PVE/Network.pm
data/PVE/ProcFSTools.pm