-
-
Save kasramp/fbfef354e3b422717f6bfb1ad67dd682 to your computer and use it in GitHub Desktop.
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/init.d/btsync | |
# | |
# Carry out specific functions when asked to by the system | |
case "$1" in | |
start) | |
/USERACCOUNT/.btsync/btsync --config /USERACCOUNT/.btsync/btsync.conf | |
;; | |
stop) | |
killall btsync | |
;; | |
*) | |
echo "Usage: /etc/init.d/btsync {start|stop}" | |
exit 1 | |
;; | |
esac | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment