mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-08 08:20:39 +08:00
Update ipv4_static_ipv6_static_interfaces.cfg
This commit is contained in:
parent
79a19fc83d
commit
116c0e101d
1 changed files with 0 additions and 1 deletions
|
|
@ -61,7 +61,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