On Wednesday, August 10, 2011 09:53:56 Alin Marin Elena wrote:
Hi All,
I have decided to give a try to systemd... and it seems to work... after one waits 5 minutes or so (hope this bug gets fixed soon).
Yeah, hope so as well ;). It does not happen for everybody.
However I have a small script that gets inserted in /etc/init.d/alsasound like this # See how we were called. case "$1" in start) if [ "$PREVLEVEL" = "N" ]; then test -d /proc/asound && start_rest else start_all fi /bin/bash /etc/imic.sh ;;
what changes shall I do to make systemd do the same?
None right now ;). systemd calls the "old" init scripts as long as there are no replacements - and there is no replacement for alsasound yet, so the init script is used as is. In general the above is a bad idea since you have to remember changing the file everytime alsasound gets updated, better create a separate file that is dependend on alsasound and starts afterwards Andreas -- Andreas Jaeger, Program Manager openSUSE aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org