Skip to content

Commit

Permalink
Update diy-istoreos.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
oppen321 authored Jan 21, 2025
1 parent 31f7aac commit 8524f98
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions diy/diy-istoreos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,17 @@ chmod +x files/etc/AdGuardHome-mosdns.yaml
mkdir -p files/etc/config
curl -L -o files/etc/config/nginx https://git.kejizero.online/zhao/files/raw/branch/main/etc/nginx/nginx

# usbreset
mkdir -p files/etc/hotplug.d/block
curl -L -o files/etc/hotplug.d/block/20-usbreset https://raw.githubusercontent.com/oppen321/ZeroWrt/refs/heads/master/files/20-usbreset
chmod +x files/etc/hotplug.d/block/20-usbreset

# swapp
mkdir -p files/etc/sysctl.d
curl -L -o files/etc/sysctl.d/15-vm-swappiness.conf https://raw.githubusercontent.com/oppen321/ZeroWrt/refs/heads/master/files/15-vm-swappiness.conf
curl -L -o files/etc/sysctl.d/16-udp-buffer-size.conf https://raw.githubusercontent.com/oppen321/ZeroWrt/refs/heads/master/files/16-udp-buffer-size.conf
chmod +x files/etc/sysctl.d/15-vm-swappiness.conf
chmod +x files/etc/sysctl.d/16-udp-buffer-size.conf

./scripts/feeds update -a
./scripts/feeds install -a

0 comments on commit 8524f98

Please sign in to comment.