mirror of https://github.com/hak5/openwrt-owl.git
parent
3ad65d760d
commit
03c661a34f
|
@ -55,6 +55,7 @@ $(IPKG_BASE):
|
||||||
cp -a ./default/* $(IDIR_BASE)
|
cp -a ./default/* $(IDIR_BASE)
|
||||||
$(SED) 's,$$R,r$(REV),g' $(IDIR_BASE)/etc/banner
|
$(SED) 's,$$R,r$(REV),g' $(IDIR_BASE)/etc/banner
|
||||||
$(SED) 's,$$S,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf
|
$(SED) 's,$$S,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf
|
||||||
|
mkdir -p $(IDIR_BASE)/sys
|
||||||
mkdir -p $(IDIR_BASE)/jffs
|
mkdir -p $(IDIR_BASE)/jffs
|
||||||
mkdir -p $(IDIR_BASE)/dev
|
mkdir -p $(IDIR_BASE)/dev
|
||||||
mkdir -p $(IDIR_BASE)/proc
|
mkdir -p $(IDIR_BASE)/proc
|
||||||
|
|
|
@ -21,9 +21,4 @@ mount_root ${FAILSAFE:+failsafe}
|
||||||
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
|
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
|
||||||
}
|
}
|
||||||
|
|
||||||
grep sysfs /proc/filesystems >&- 2>&- && {
|
|
||||||
mkdir -p /sys
|
|
||||||
mount -t sysfs none /sys
|
|
||||||
}
|
|
||||||
|
|
||||||
exec /sbin/init
|
exec /sbin/init
|
||||||
|
|
|
@ -37,3 +37,4 @@ fi
|
||||||
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
|
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
|
||||||
mkdir -p /dev/pts
|
mkdir -p /dev/pts
|
||||||
mount none /dev/pts -t devpts
|
mount none /dev/pts -t devpts
|
||||||
|
grep sysfs /proc/filesystems >&- && mount -t sysfs none /sys
|
||||||
|
|
Loading…
Reference in New Issue