28 lines
410 B
Bash
Executable File
28 lines
410 B
Bash
Executable File
#!/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 :
|