milis/ayarlar/servisler/mbd/init.d/connmand

28 lines
410 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# /etc/rc.d/connamnd: start/stop connman
#
case $1 in
start)
echo "connman başlatılıyor...."
connmand
echo "connman başlatıldı."
;;
stop)
echo "connman durduruluyor...."
killall -9 connmand
killall -9 connman-vpnd
echo "connman durduruldu."
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
;;
esac
# End of file
# vim: set ft=sh noet :