summarylogtreecommitdiffstats
path: root/bluetooth
blob: 2f1d82a526ac721f8780a1c3c953cd206f8b3dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#
# Creator: Soul_Est
# Email: soul.est.soul.est@gmail.com
#
# Shim for QTSixA until it's fully compatible with systemd
# The ":" command idea taken from here: http://ynniv.com/blog/2005/04/doing-nothing-in-bash.html#c3664104150986936775
#
case "$1" in
	start)
		# It does nothing and has a 0.00s runtime!
		#: && exit 0
		# Uncomment the next line if you use regular bluetooth
		systemctl start bluetooth.service && exit 0
		;;
	stop)
		# It does nothing and has a 0.00s runtime!
		#: && exit 0
		# Uncomment the next line if you use regular bluetooth
		systemctl stop bluetooth.service && exit 0
		;;
	restart)
		# It does nothing and has a 0.00s runtime!
		#: && exit 0
		# Uncomment the next line if you use regular bluetooth
		systemctl restart bluetooth.service && exit 0
		;;
esac
exit 1