File: coldreboot

package info (click to toggle)
kexec-tools 1:2.0.7-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,596 kB
  • ctags: 5,878
  • sloc: ansic: 23,324; sh: 3,469; asm: 2,583; cpp: 1,751; makefile: 787
file content (6 lines) | stat: -rw-r--r-- 103 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/sh
NOKEXECFILE=/tmp/no-kexec-reboot

/bin/rm -f $NOKEXECFILE
touch $NOKEXECFILE
/sbin/reboot $*