init scripts do not start on boot by default anymore.

This commit is contained in:
Cale Black committed 2013-05-31 10:31:53 -05:00
1 parent 3204b44a9b
commit 3600b584a4
1 file changed
+2 -1
+2 -1
View File
@@ -51,11 +51,12 @@ echo "$NET.$IP_SHORT piratebox">>/etc/hosts
if [[ -d /etc/init.d/ ]]; then
ln -s /opt/piratebox/init.d/piratebox /etc/init.d/piratebox
update-rc.d piratebox defaults
echo "To make PirateBox start at boot run: update-rc.d piratebox defaults"
# systemctl enable piratebox #This enables PirateBox at start up... could be useful for Live
else
#link between opt and etc/pb
ln -s /opt/piratebox/init.d/piratebox.service /etc/systemd/system/piratebox.service
echo "To make PirateBox start at boot run: systemctl enable piratebox"
fi
#install dependencies