Created
October 17, 2015 15:41
-
-
Save legendtang/551d36df53ee658e5c4c to your computer and use it in GitHub Desktop.
/etc/init.d/mentohust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
START=99 | |
STOP=10 | |
start() | |
{ | |
mentohust >/dev/null 2>&1 | |
} | |
stop() | |
{ | |
sync | |
mentohust -k >/dev/null 2>&1 | |
} | |
restart() | |
{ | |
stop | |
start | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment