aboutsummaryrefslogtreecommitdiff
path: root/corekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell
diff options
context:
space:
mode:
Diffstat (limited to 'corekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell')
-rwxr-xr-xcorekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell18
1 files changed, 18 insertions, 0 deletions
diff --git a/corekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell b/corekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell
new file mode 100755
index 0000000..c569c1f
--- /dev/null
+++ b/corekms_tree/board/corekms/rootfs_overlay/etc/init.d/S99shell
@@ -0,0 +1,18 @@
+#!/bin/sh
+# The system state page.
+while true
+do
+ clear
+ printf "Welcome to CoreKMS!\t"
+ uptime
+ free -h
+ if pgrep "vlmcsd" > /dev/null ; then
+ echo "VLMCSD is running."
+ else
+ echo "VLMCSD is not running."
+ fi
+ echo "IP Addresses:"
+ ip a
+ echo "Press Enter to refresh."
+ read
+done