From dac107a1da50e792fdb620d558f76cdc2a13926d Mon Sep 17 00:00:00 2001 From: swei Date: Wed, 7 May 2014 14:53:27 +0800 Subject: [PATCH] chown ifcfg-bond0,ifcfg-eth0,ifcfg-eth2 to netadmin modified: set_bonding.sh Signed-off-by: swei --- install_shell/set_bonding.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install_shell/set_bonding.sh b/install_shell/set_bonding.sh index 15da562..2cd69c1 100755 --- a/install_shell/set_bonding.sh +++ b/install_shell/set_bonding.sh @@ -35,4 +35,7 @@ sed -i "s/^DEVICE=eth0/DEVICE=bond0/g" ${IF_CONFIG}/ifcfg-bond0 create_ifcfg 0 2 fi - +#change belong to netadmin +chown 98.98 ${IF_CONFIG}/ifcfg-bond0 +chown 98.98 ${IF_CONFIG}/ifcfg-eth0 +chown 98.98 ${IF_CONFIG}/ifcfg-eth2