rc.local怎么会没有作用。。我ss就再rc.local里面启动的。有个rc-local.service 专门执行rc.local的
icelee123@icelee123-x220:~$ cat /run/systemd/generator/multi-user.target.wants/rc-local.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
[Unit]
Description=/etc/rc.local Compatibility
ConditionFileIsExecutable=/etc/rc.local
After=network.target