]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/initscripts/initscripts-1.0/reboot
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / initscripts / initscripts-1.0 / reboot
1 #! /bin/sh
2 #
3 # reboot        Execute the reboot command.
4 #
5 # Version:      @(#)reboot  2.75  22-Jun-1998  miquels@cistron.nl
6 #
7
8 PATH=/sbin:/bin:/usr/sbin:/usr/bin
9
10 # Update the timestamp, if there is one
11 if test -e /etc/timestamp
12 then
13         date +%2m%2d%2H%2M%Y > /etc/timestamp
14 fi
15
16 echo -n "Rebooting... "
17 reboot -d -f -i