parent
b28198e8c7
commit
1c3c10d37f
5 changed files with 45 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,15 @@ |
||||
[Unit] |
||||
Description=/etc/rc.d/rc.local.shutdown compatibility |
||||
ConditionFileIsExecutable=/etc/rc.d/rc.local.shutdown |
||||
DefaultDependencies=no |
||||
After=rc-local.service basic.target |
||||
Before=shutdown.target |
||||
|
||||
[Service] |
||||
Type=oneshot |
||||
ExecStart=/etc/rc.d/rc.local.shutdown |
||||
StandardInput=tty |
||||
RemainAfterExit=yes |
||||
|
||||
[Install] |
||||
WantedBy=shutdown.target |
@ -0,0 +1,9 @@ |
||||
#!/bin/bash |
||||
|
||||
# {{ ansible_managed }} |
||||
|
||||
{% for cmd in system_rc_local_shutdown_cmd %} |
||||
{{ cmd }} |
||||
{% endfor %} |
||||
|
||||
exit 0 |
Loading…
Reference in new issue