|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have installed on my PC an Expert mouseClock (Gude elektronik) receiving the time radio signal of DCF77 in Germany. It is functioning perfectly. My problem is the following: how do I start this service as root at boot?
I have written the following script in a file called ntpd in the /etc/init.d folder: Quote:
Quote:
Then when I launch my system, this service is not started and I get the following line in the file /var/log/messages: Quote:
Thank you in advance for your answer |
|
|||
|
Thank you for your answer.
But the clock has to be run by a special package and the manufacturer insists on the fact that no other ntp distributions (e.g. suse rpms, debian packages) is installed. Kind regards. |
|
||||
|
Gian-Piero wrote:
> But the clock has to be run by a special package and the manufacturer > insists on the fact that no other ntp distributions (e.g. suse rpms, > debian packages) is installed. In that case you can of yourse use your special ntpd and copy/adjust the init script from the distribution package. Alternatively, copy and adjust the fully documented /etc/init.d/skeleton to create your own automatically started start/stoppable ntp service. Kind regards, Andreas Stieger |
|
|||
|
Thank you for your answer.
I have found the following script in the distribution package: Quote:
Now I can see the service ntpd in Yast2, but its activity is " No* " (I hope my translation is correct because my version of openSUSE 11.1 is in French). This service is always not started at boot, because it requires root access. I can start it manually from within Yast2 or from a terminal as root. My problem still is: how can I manage to start this service as root automatically? As I am far from being a specialist can you tell me what I have to do? Kind regards Last edited by Gian-Piero; 22-Jun-2009 at 04:47. Reason: missing details |
|
|||
|
You have to put a whole bunch of metadata in significant comments at the top of the file to make it installable into openSUSE's SysV init system using insserv or chkconfig. See /etc/init.d/skeleton for an example and documentation.
|
|
|||
|
Thank you for your help. I will try.
Regards |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|