summarylogtreecommitdiffstats
path: root/iblu-git.install
blob: 8f3ac0ee3b0e1eb22a3fb7e763fac6e071c7ab8f (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
post_install() {
	
	### UNCOMMENT the following lines to CREATE and ENABLE the systemd unit
	# it's MANDATORY execute those to run iblu

	# iblu UNIT > /usr/lib/systemd/system/iblu.service; #creates the systemd unit file
	# systemctl start iblu.service; #enabling the service
	# systemctl enable iblu.service; #enabling the service
	
	
	echo -e "\n\tIBLU is ALMOST INSTALLED! \n\tPlease run the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n"
}





################################################################################################
# read -p "Do you want to do it now (y/n)?" choice
# case "$choice" in 
# y|Y ) iblu UNIT > /usr/lib/systemd/system/iblu.service; systemctl start iblu.service; systemctl enable iblu.service;;
# n|N ) echo "You can always to it running the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n";;
# * ) echo "invalid";;
# esac