LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   /etc/sysctl.conf ??? (https://www.linuxquestions.org/questions/linux-software-2/etc-sysctl-conf-189247/)

biscristi 06-03-2004 09:50 AM

/etc/sysctl.conf ???
 
I am trying set the "dev.rtc.max-user-freq = 1024" option to sysctl, so i created a file, sysctl.conf in /etc/ , and added a line with "dev.rtc.max-user-freq = 1024" to it. Although i read on many web sites that this is the way to go, it doesn't work for me.
I get this errors running tvtime saying that it cannot change my rtc timer (permission denied) and that i should run "sysctl -w dev.rtc.max-user-freq=1024" as root. Doing this everything works fine but i want it tot be done automaticaly at boot time. Adding a line with "sysctl -w dev.rtc.max-user-freq=1024" at /etc/init.d/rc does not work either. I think it may have something to do with permissions although i did " chgrp users /dev/rtc && chmod g+r /dev/rtc" .
Any ideas on how to make this work ?


All times are GMT -5. The time now is 05:09 AM.