summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/preinit')
-rwxr-xr-xopenwrt/package/base-files/default/etc/preinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/preinit b/openwrt/package/base-files/default/etc/preinit
index b23f8833e..34de88c60 100755
--- a/openwrt/package/base-files/default/etc/preinit
+++ b/openwrt/package/base-files/default/etc/preinit
@@ -1,4 +1,5 @@
#!/bin/sh
+. /etc/nvram.sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount none /proc -t proc
insmod diag