View Single Post
Old 08-23-2013, 09:05 AM   #31
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Markismus View Post
Don't make the file in windows! You would get the wrong end-of-line codes.

Content reboot.sh:
#!/bin/sh
reboot

I've attached the file.
Or you could use "Notepad++" with it set for Linux file output.

Or, since these are very small files any HexEditor can be used to remove the "0B" hex (the carriage return)s from the file.

Luck;
Ken
Ken Maltby is offline   Reply With Quote