diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-10-19 07:43:19 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-10-19 07:43:19 +0200 |
commit | a91fea903de8f05f3faa36f0706c3e74fdb43ddb (patch) | |
tree | 8bbf17e8bfa86bc1857017dc7b96a74a5c87b8fe | |
parent | 7703b03cdde7ecb44ab6d3ea0e4c5d67f0f482de (diff) | |
download | vyos-build-a91fea903de8f05f3faa36f0706c3e74fdb43ddb.tar.gz vyos-build-a91fea903de8f05f3faa36f0706c3e74fdb43ddb.zip |
isc-dhcpv6-server init script naming cleanup
-rwxr-xr-x | data/live-build-config/includes.chroot/etc/init.d/isc-dhcpv6-server | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/data/live-build-config/includes.chroot/etc/init.d/isc-dhcpv6-server b/data/live-build-config/includes.chroot/etc/init.d/isc-dhcpv6-server index c7278416..12630719 100755 --- a/data/live-build-config/includes.chroot/etc/init.d/isc-dhcpv6-server +++ b/data/live-build-config/includes.chroot/etc/init.d/isc-dhcpv6-server @@ -3,15 +3,15 @@ # ### BEGIN INIT INFO -# Provides: isc-dhcp-server +# Provides: isc-dhcpv6-server # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Should-Start: $local_fs slapd $named # Should-Stop: $local_fs slapd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: DHCP server -# Description: Dynamic Host Configuration Protocol Server +# Short-Description: IPv6 DHCP server +# Description: Dynamic Host Configuration Protocol Server for IPv6 ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -23,8 +23,7 @@ DHCPD_DEFAULT="${DHCPD_DEFAULT:-/etc/default/isc-dhcpv6-server}" # It is not safe to start if we don't have a default configuration... if [ ! -f "$DHCPD_DEFAULT" ]; then echo "$DHCPD_DEFAULT does not exist! - Aborting..." - if [ "$DHCPD_DEFAULT" = "/etc/default/isc-dhcp-server" ]; then - echo "Run 'dpkg-reconfigure isc-dhcp-server' to fix the problem." + if [ "$DHCPD_DEFAULT" = "/etc/default/isc-dhcpv6-server" ]; then fi exit 0 fi |