diff options
author | James Meyer <james.meyer@operamail.com> | 2013-06-01 00:40:17 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-06-01 00:40:17 (GMT) |
commit | d068c8d3408181d65f458563438b38560b71c9e8 (patch) | |
tree | 01b79002211c4de472a483c3754488f33b3a1d6d /abs/core/LinHES-config/mv_install.py | |
parent | 22aff21a70f6788ac33d126795702fc5e257c862 (diff) | |
download | linhes_pkgbuild-d068c8d3408181d65f458563438b38560b71c9e8.zip linhes_pkgbuild-d068c8d3408181d65f458563438b38560b71c9e8.tar.gz linhes_pkgbuild-d068c8d3408181d65f458563438b38560b71c9e8.tar.bz2 |
LinHES-config: fix a nasty bug where some of the system settings didn't get transferred on install.
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-x | abs/core/LinHES-config/mv_install.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py index 2712a60..57b784b 100755 --- a/abs/core/LinHES-config/mv_install.py +++ b/abs/core/LinHES-config/mv_install.py @@ -1559,6 +1559,9 @@ def restore_default_settings(): cmd = "%s/bin/myth_settings_wrapper.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME) runcmd(cmd) SE = os.environ["TEMPLATES"]+"/settings/syssettings/" + #this is needed because the settings dir is no longer part of the templates pkg + cmd="mkdir -p %s" %(data_config.MOUNTPOINT+SE) + runcmd(cmd) cp_and_log(SE, data_config.MOUNTPOINT+SE) cp_and_log("/etc/mtab", data_config.MOUNTPOINT+"/etc/mtab") copy_updates() |