mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-24 14:16:08 +08:00
Update ipv4_static_ipv6_dhcp_interfaces.cfg
This commit is contained in:
parent
5ca63e9117
commit
79a19fc83d
1 changed files with 0 additions and 1 deletions
|
|
@ -59,7 +59,6 @@ network:
|
||||||
# later commands
|
# later commands
|
||||||
runcmd:
|
runcmd:
|
||||||
- update-rc.d ssh enable
|
- update-rc.d ssh enable
|
||||||
- ssh-keygen -A
|
|
||||||
- /etc/init.d/ssh restart
|
- /etc/init.d/ssh restart
|
||||||
- sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf
|
- sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf
|
||||||
- sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf
|
- sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue