mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 09:43:21 +02:00
ed5ef674d1
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
209 B
Bash
Executable File
12 lines
209 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
sysctl -p >&-
|
|
|
|
# automagically run firstboot
|
|
{ mount|grep "on / type tmpfs" 1>&-; } && {
|
|
lock /tmp/.switch2jffs
|
|
firstboot switch2jffs
|
|
lock -u /tmp/.switch2jffs
|
|
}
|