Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: vladosam on April 13, 2016, 12:09:40 PM
-
Hi everyone. I have problem with picore7.0. Afther restart usr/local/lib/python3.4/site-packages change date to 1.1.1970. I have set static ip. And also correct TZ in cmdline.txt. In bootlocal.sh i have /etc/init.d/settime.sh. Date command gives me right time and date. I noticed if i run filetool.sh -r all persistent folder changes to current date and time but files dont. This is content of .filetool.lst
opt
home
etc/passwd
etc/shadow
etc/group
etc/gshadow
usr/local/etc/ssh
usr/local/lib/python3.4/site-packages
What am i doing wrong?
-
In bootlocal.sh i have /etc/init.d/settime.sh.
It is not needed, time is set by the system during startup.
-
I removed /etc/init.d/settime.sh from bootlocal.sh now date command gives my 1.1.1970?
-
Sorry I missed static IP. In such case you need it.
bootlocal is executed at the end os startup process. When backup files restored, no time set (except having an RTC), so system date is 1.1.1970
-
That is a problem for me. But I find a solution for that. I can use touch command before start some updates. Thanks.
-
That is a problem for me.
Why is it a problem?
-
I want to make home automation server. So when I install python homassistant server everything is ok. I make it persistent restart and so on. But when I updated it after restart there is a ton of errors in the log about can't find files, dates not ok etc.
-
I want to make home automation server. So when I install python homassistant server everything is ok. I make it persistent restart and so on. But when I updated it after restart there is a ton of errors in the log about can't find files, dates not ok etc.
Install RTC
-
Yea. That is what I'm gona do. :) I enjoy using picore. It's the best tool for my little project. Thanks again.