summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts/initscripts-1.0/reboot
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/reboot')
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/reboot17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/reboot b/meta/packages/initscripts/initscripts-1.0/reboot
new file mode 100755
index 0000000000..7f95255bd9
--- /dev/null
+++ b/meta/packages/initscripts/initscripts-1.0/reboot
@@ -0,0 +1,17 @@
1#! /bin/sh
2#
3# reboot Execute the reboot command.
4#
5# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl
6#
7
8PATH=/sbin:/bin:/usr/sbin:/usr/bin
9
10# Update the timestamp, if there is one
11if test -e /etc/timestamp
12then
13 date +%2m%2d%2H%2M%Y > /etc/timestamp
14fi
15
16echo -n "Rebooting... "
17reboot -d -f -i