* Carlos E. R. <robin.listas@telefonica.net> [08-13-19 10:36]:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday, 2019-08-13 at 16:23 +0200, Wolfgang Mueller wrote:
On Tue, 13 Aug 2019 at 15:45:53 +0200, Carlos E. R. wrote:
On Tuesday, 2019-08-13 at 15:26 +0200, Wolfgang Mueller wrote:
In the good old days, it was sufficient to make a link to the program in /etc/init.d/rc3.d and /etc/init.d/rc5.d for starting it at boot time:
/etc/init.d/rc3.d/S50My_program -> /home/wolfgang/bin/My_program /etc/init.d/rc5.d/S50My_program -> /home/wolfgang/bin/My_program
But now under Leap 15.1, that does not work any more. Is there any other way to start a program a boot time?
You can use "after.local" or "boot.local".
I tried to call them one after the other, in vain. Then I tried to install them with yast2, but they are unknown both.
No, you have to create them, and have to be executables. I doubt a link would work.
Example:
cer@Telcontar:~> cat /etc/init.d/after.local #! /bin/bash
if test -n "$failed" ; then cat /usr/share/sounds/au/computer.au > /dev/audio & else cat /usr/share/sounds/au/hal9.au > /dev/audio & fi cer@Telcontar:~>
The failed part doesn't work, the var is never set when failed.
might if you tested for the value 1 or 0 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org