Mein Beitrag vom 28. Aug 2012 kann nicht so stehen bleiben. Folgende Ergänzung ist zur Richtigstellung erforderlich :
Damit das Skript after.local unter systemd ausgeführt wird, muß man einen neuen Service einrichten. Hierzu erstellt man im Ordner /lib/systemd/system eine Textdatei, z.B. after-local.service, folgenden Inhalts :
Schließlich noch den neuen Service bekanntmachen :
Diesen Service habe ich auf meinem Notebook im Frühjahr eingerichtet, was mir wohl ebenfalls entfallen war
ps: Seitdem läuft after.local auf meinem Notebook. Auf meinem Desktoprechner (ebenfalls systemd) läuft after.local nicht, weil der Service dort nicht eingerichtet ist.
Gruss H.
Damit das Skript after.local unter systemd ausgeführt wird, muß man einen neuen Service einrichten. Hierzu erstellt man im Ordner /lib/systemd/system eine Textdatei, z.B. after-local.service, folgenden Inhalts :
Code:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=/etc/init.d/after.local Compatibility
ConditionFileIsExecutable=/etc/init.d/after.local
[Service]
Type=oneshot
ExecStart=/etc/init.d/after.local
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
Code:
sudo systemctl enable /lib/systemd/system/after-local.service
Gruss H.