mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-25 20:22:44 +01:00
rc: use --system with sysctl instead of -p
This commit is contained in:
parent
877e8a59cb
commit
dfc227e575
@ -851,7 +851,7 @@ function sysctl-mikaela-run() {
|
||||
echo net.ipv6.bindv6only=1 >> /etc/sysctl.d/60-mikaela.conf
|
||||
echo net.ipv6.conf.eth0.use_tempaddr=2 >> /etc/sysctl.d/60-mikaela.conf
|
||||
echo net.ipv6.conf.wlan0.use_tempaddr=2 >> /etc/sysctl.d/60-mikaela.conf
|
||||
sysctl -p
|
||||
sysctl --system
|
||||
service procps start
|
||||
echo 'If network-manager is used, see /etc/NetworkManager/system-connections/<connection>'
|
||||
set +x
|
||||
|
2
rc/zshrc
2
rc/zshrc
@ -829,7 +829,7 @@ function sysctl-mikaela-run() {
|
||||
echo net.ipv6.bindv6only=1 >> /etc/sysctl.d/60-mikaela.conf
|
||||
echo net.ipv6.conf.eth0.use_tempaddr=2 >> /etc/sysctl.d/60-mikaela.conf
|
||||
echo net.ipv6.conf.wlan0.use_tempaddr=2 >> /etc/sysctl.d/60-mikaela.conf
|
||||
sysctl -p
|
||||
sysctl --system
|
||||
service procps start
|
||||
echo 'If network-manager is used, see /etc/NetworkManager/system-connections/<connection>'
|
||||
set +x
|
||||
|
Loading…
Reference in New Issue
Block a user