Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| $(document).ready(function() { | |
| // add a hash to the URL when the user clicks on a tab | |
| $('a[data-toggle="tab"]').on('click', function(e) { | |
| history.pushState(null, null, $(this).attr('href')); | |
| }); | |
| // navigate to a tab when the history changes | |
| window.addEventListener("popstate", function(e) { | |
| var activeTab = $('[href="' + location.hash + '"]'); | |
| if (activeTab.length) { | |
| activeTab.tab('show'); |