Closed gelstudios closed 10 years ago
Reads uptime from /proc/uptime. Calculates an uptime string with new function sec2time. Feel free to change output string of sec2time, currently it will print something like: "2 Days, 2 Hours, 32 Minutes, 29 Seconds"
Added along with http://www.reddit.com/r/raspberry_pi/comments/1xx0vn/message_of_the_day_login_message_in_pure_bash/cfg5q28
Thanks!
Reads uptime from /proc/uptime. Calculates an uptime string with new function sec2time. Feel free to change output string of sec2time, currently it will print something like: "2 Days, 2 Hours, 32 Minutes, 29 Seconds"