File: coldreboot

package info (click to toggle)
kexec-tools 1%3A2.0.22-2
  • links: PTS
  • area: main
  • in suites: bookworm, sid
  • size: 2,836 kB
  • sloc: ansic: 28,110; sh: 3,614; asm: 2,625; cpp: 1,752; makefile: 932
file content (6 lines) | stat: -rw-r--r-- 99 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#!/bin/sh
NOKEXECFILE=/no-kexec-reboot

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