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)| #!/bin/bash | |
| # NAS IP: 192.168.1.10 in this example | |
| # DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below) | |
| ## Network: 192.168.1.210/28 | |
| ## HostMin: 192.168.1.211 | |
| ## HostMax: 192.168.1.224 | |
| ## Hosts/Net: 14 | |
| # Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo) |
| #!/bin/bash | |
| # | |
| # Copyright (C) 2015 Nethesis S.r.l. | |
| # http://www.nethesis.it - [email protected] | |
| # | |
| # This script is part of NethServer. | |
| # | |
| # NethServer is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by |
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)