[Mert Dirik] > Please forgive my naivety, but simply moving the argument shift part before > sourcing /lib/lsb/init-functions seems to successfully redirect to > systemctl.
Interesting. This seem like a very good idea. :) > The only variable leaking to /lib/lsb/init-functions is "script", which can be > easily renamed and namespaced in case of a possible problem. Perhaps good to give it some init-d-script related prefix, to reduce the chance of a future collision? > Is there anything wrong with this approach? Nothing I could think of from the top of my head. :) -- Vennlig hilsen Petter Reinholdtsen