boot.patch 1004 B

123456789101112131415161718192021
  1. From 907f48ac0b93e9a26e80d8bee1f0d89df1236687 Mon Sep 17 00:00:00 2001
  2. From: kiddin9 <[email protected]>
  3. Date: Sat, 28 Nov 2020 16:46:37 +0800
  4. Subject: [PATCH] Update boot
  5. ---
  6. package/base-files/files/etc/init.d/boot | 1 +
  7. 1 file changed, 1 insertion(+)
  8. diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
  9. index b36323a97e2a..00bae1eb53ab 100755
  10. --- a/package/base-files/files/etc/init.d/boot
  11. +++ b/package/base-files/files/etc/init.d/boot
  12. @@ -33,6 +33,7 @@ boot() {
  13. mkdir -p /tmp/resolv.conf.d
  14. touch /tmp/resolv.conf.d/resolv.conf.auto
  15. ln -sf /tmp/resolv.conf.d/resolv.conf.auto /tmp/resolv.conf
  16. + ln -sf /tmp/resolv.conf.d/resolv.conf.auto /tmp/resolv.conf.auto
  17. grep -q debugfs /proc/filesystems && /bin/mount -o noatime -t debugfs debugfs /sys/kernel/debug
  18. grep -q bpf /proc/filesystems && /bin/mount -o nosuid,nodev,noexec,noatime,mode=0700 -t bpf bpffs /sys/fs/bpf
  19. [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe