mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
sub ifupdown for ifconfig to save cpu power
This commit is contained in:
committed by
Aiden McClelland
parent
f922a6f08c
commit
87c10b7fbe
@@ -585,8 +585,9 @@ pub async fn synchronize_wpa_supplicant_conf<P: AsRef<Path>>(main_datadir: P) ->
|
||||
.arg("wpa_supplicant")
|
||||
.invoke(ErrorKind::Wifi)
|
||||
.await?;
|
||||
Command::new("ifup")
|
||||
Command::new("ifconfig")
|
||||
.arg("wlan0")
|
||||
.arg("up")
|
||||
.invoke(ErrorKind::Wifi)
|
||||
.await?;
|
||||
Ok(())
|
||||
|
||||
@@ -18,7 +18,6 @@ apt install -y \
|
||||
sqlite3 \
|
||||
wireless-tools \
|
||||
net-tools \
|
||||
ifupdown \
|
||||
ecryptfs-utils
|
||||
sed -i 's/"1"/"0"/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
sed -i 's/Restart=on-failure/Restart=always/g' /lib/systemd/system/tor@default.service
|
||||
|
||||
Reference in New Issue
Block a user