summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-03-11 19:02:54 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-03-11 19:02:54 -0800
commit189117433af089850145e1e00f89e769ab080b4c (patch)
tree54299b218693372227b6ce4466960be7bff6eb8f /etc
parent51d7db977f84df3c918ea778b67f32468b1d2e2c (diff)
downloadvyatta-cfg-189117433af089850145e1e00f89e769ab080b4c.tar.gz
vyatta-cfg-189117433af089850145e1e00f89e769ab080b4c.zip
run migration as vyattacfg group
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-router2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index 0a14437..3f64b9c 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -108,7 +108,7 @@ migrate_bootfile ()
{
if [ -x $vyatta_sbindir/vyatta_config_migrate.pl ]; then
log_progress_msg migrate
- $vyatta_sbindir/vyatta_config_migrate.pl $BOOTFILE
+ sg ${GROUP} -c "$vyatta_sbindir/vyatta_config_migrate.pl $BOOTFILE"
fi
}