mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2026-12-05 00:38:42 +00:00
init scripts do not start on boot by default anymore.
This commit is contained in:
1 parent
3204b44a9b
commit
3600b584a4
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user