blob: f006b35c5374bb52c0534e5684e6ea76121baf80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <unistd.h>
#include <sys/reboot.h>
#include <skalibs/strerr2.h>
int main ()
{
PROG = "s6-reboot" ;
sync() ;
reboot(RB_AUTOBOOT) ;
strerr_diefu1sys(111, "reboot()") ;
}
|