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

28 lines
410 B
Plaintext
Raw Normal View History

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