You are not logged in.
Pages: 1
Hi
I just installed arch (gentoo user for years) and afer a while I got everything working. (at least I think so)
Just one thing, where do I put commands that need to be excecuted at boot?
thanks
Offline
Depends on what it is exactly that you want to accomplish, but the standard place would be the /etc/rc.local script.
Offline
Are you thinking about startup within gnome/kde? Or before GDM?
Offline
before slim is ok, (I use xfce4 and slim as displaymanager)
in fact I just want to use the comaand ntpdate at boot (you can run it as a daemon I know, but just once ntpdate at boot is enough for me)
Offline
insert "sudo ntpdate LOCAL_SERVER" into rc.local.
Where LOCAL_SERVER is the server from your country. I guess you have to add your user to the network group as well.
Offline
insert "sudo ntpdate LOCAL_SERVER" into rc.local.
Where LOCAL_SERVER is the server from your country. I guess you have to add your user to the network group as well.
Sudo isn't needed, rc.local is sourced as root.
Last edited by Ramses de Norre (2007-10-29 16:23:57)
Offline
pacman -S ntp, then you could put 'ntpdate' in the DAEMONS array in /etc/rc.conf and edit /etc/conf.d/ntp-client.conf to your liking. But yes, normally that rc.local advice is the right way.
1000
Offline
thanks, indeed I did as suggested:
ntpdate LOCAL_SERVER
in /etc/rc.local and that just works,
thnaks
Offline
Pages: 1