summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-16 05:29:15 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-16 05:29:15 (EDT)
commitd173a4b01c4024cf2bd604b5009048a04ae2bc53 (patch)
tree63bd42766502eb0d4f7d917f027dba6254eb2583 /src.etc/init.d
parent5567fed0b112401cbb462a290a6e58032e63ab84 (diff)
/etc/init.d/boottime: New script.
Diffstat (limited to 'src.etc/init.d')
-rw-r--r--src.etc/init.d/boottime8
1 files changed, 8 insertions, 0 deletions
diff --git a/src.etc/init.d/boottime b/src.etc/init.d/boottime
new file mode 100644
index 0000000..d8b6c95
--- /dev/null
+++ b/src.etc/init.d/boottime
@@ -0,0 +1,8 @@
+#!/bin/sh /etc/rc.common
+
+START='99'
+
+start()
+{
+ tty_printf 'Booted in %s seconds' "$(cut -d ' ' -f 1 /proc/uptime)"
+}