openwrtv4/package/base-files/files/etc
Jo-Philipp Wich 73344b9c56 Add sysfixtime init script, replacement of luci_fixtime
Simply scan for the most recent file in /etc and set
system time to this file modification time if it's in the future
It allow some time dependent program to work immediatly
without waiting for ntpd to sync

v1: v2: bad approach
v3: simply scan /etc, thanks to Bastian Bittorf for the idea
v4: use sort -n, thanks to Catalin Patulea
v5: use [] instead of [[]], thanks to Andreas Mohr
v6: use openwrt style, thanks to Bastian Bittorf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39422
2014-01-29 13:17:03 +00:00
..
config base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
hotplug.d/net base-files: drop 2 pointless hotplug trigger stubs 2013-06-21 16:53:51 +00:00
init.d Add sysfixtime init script, replacement of luci_fixtime 2014-01-29 13:17:03 +00:00
rc.button base-files: don't enter failsafe if triggered by switch 2013-11-11 23:34:11 +00:00
uci-defaults base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
banner it's time to break the barriers 2012-10-08 13:12:37 +00:00
diag.sh base-files: make diag.sh stub working in bash 2009-04-30 21:00:57 +00:00
group base-files: add an ftp group as well 2011-03-13 19:04:32 +00:00
hosts base_files: Remove . from end of localhost entry 2010-08-06 08:00:40 +00:00
inittab make basefiles aware of procd 2013-03-13 18:11:19 +00:00
openwrt_release include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner 2012-04-12 17:31:16 +00:00
openwrt_version include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner 2012-04-12 17:31:16 +00:00
passwd base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. 2011-11-14 19:02:01 +00:00
preinit base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
profile base-files: change PATH order 2013-06-10 08:24:02 +00:00
protocols
rc.common base-files: add a post start hook for procd managed services 2013-09-17 21:45:34 +00:00
rc.local base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts 2009-09-11 21:35:03 +00:00
services Add munin to /etc/services 2012-03-18 19:41:57 +00:00
shadow base-files: ship a static initial shadow db instead of creating it from passwd with sed, this fixes registering of users at compile time 2012-06-05 17:48:41 +00:00
shells
sysctl.conf base-files: set default IPv6 forwarding value to 1 2013-06-11 13:30:18 +00:00
sysupgrade.conf base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles 2010-10-05 19:24:12 +00:00