How to prevent /usr/sbin/pkg / petget from automatic data update after booting? (solved)
Hi everyone,
after booting /usr/sbin/pkg (calling then /usr/local/petget/0setup) automatically starts to download repository index files. I'd like to prevent automatic download as I have a slow connection. I rather prefer to update petget manually at need.
I'm running fossapup64 9.5, a frugal installation on HDD on a thinkpad T530 (although I doubt, that the specific hardware is important for this question).
If I understood it right "busybox init" is controlled by /etc/inittab and therefore executes this:
::sysinit:/etc/rc.d/rc.sysinit
rc.sysinit executes:
/etc/rc.d/rc.services which in turn executes all sripts in /etc/rc.d/init.d . None of these contain a call to /usr/sbin/pkg .
/etc/rc.d/rc.country: also doesn't call /usr/sbin/pkg .
/etc/rc.d/rc.local: also doesn't call /usr/sbin/pkg .
I can't find where /usr/sbin/pkg is called, although I see, this call chain with 'ps':
/bin/busybox init --> /bin/ash /usr/sbin/pkg ru --> /bin/bash /usr/local/petget/0setup x --> wget
Did I miss the script that calls it?
How can I prevent automatic pkg/petget files download?
Thanks in advance for any hint.