Evan Hisey wrote:
> duncan-
>
>   
>>  What about the permissions of the file, it's not owned by root and your
>>  using a non-root user?
>>     
> It is being runs as root.
>
> This test looks like you did it agianst an already converted local_config.py.
>   
>>  As a test I did this:
>>  cp -p local_conf.py-5.23 local_conf.py-test
>>     
> This looks like you moved a converted file over to test.
>   
>>  freevo convert_config local_conf.py-test -w
>>  diff -Nau local_conf.py-5.23 local_conf.py-test
>>     
> Here you compare the file against it self so I would expect there to
> be no change as teh file is already a 5.23 config.
> This test looks like you did it against an already converted local_config.py.
>   

No not quite:
# freevo convert_config local_conf.py-test
changing config file line:
SHUTDOWN_SYS_ENABLE = 0
SYS_SHUTDOWN_ENABLE = 0

changing config file line:
SHUTDOWN_SYS_ENABLE = 1
SYS_SHUTDOWN_ENABLE = 1

changing config file line:
SHUTDOWN_CONFIRM = 1
SYS_SHUTDOWN_CONFIRM = 1

changing config file line:
SHUTDOWN_SYS_CMD = 'shutdown -h now'
SYS_SHUTDOWN_CMD = 'shutdown -h now'

changing config file line:
RESTART_SYS_CMD = 'shutdown -r now'
SYS_RESTART_CMD = 'shutdown -r now'

so after the write command:

# diff -Nau local_conf.py-5.23 local_conf.py-test
--- local_conf.py-5.23  2008-01-05 19:47:39.000000000 +0100
+++ local_conf.py-test  2008-03-18 19:05:14.000000000 +0100
@@ -775,12 +775,12 @@
     'RelativeDateTime(days=1, hour=9, minute=0, second=0)',
 ]
 
-SHUTDOWN_SYS_ENABLE = 0
-SHUTDOWN_SYS_ENABLE = 1
-SHUTDOWN_CONFIRM = 1
+SYS_SHUTDOWN_ENABLE = 0
+SYS_SHUTDOWN_ENABLE = 1
+SYS_SHUTDOWN_CONFIRM = 1
 #SHUTDOWN_SYS_CMD = '/usr/local/bin/shutdownfreevo grub 2 yes'
-SHUTDOWN_SYS_CMD = 'shutdown -h now'
-RESTART_SYS_CMD = 'shutdown -r now'
+SYS_SHUTDOWN_CMD = 'shutdown -h now'
+SYS_RESTART_CMD = 'shutdown -r now'
 
 #----------------------------------------------------------------------
 # AUTOSHUTDOWN CONFIGURATION


> I am using the lastest svns of freevo and kaa. The convert_config is
> not working and gives now output to eitherlogs or console. This is
> very annoying.
>   

You can always send me you local_conf.py, then I can really check if it 
is working or not.

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to