mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-16 00:00:37 -04:00
Drop obsolete Gentoo dhcpd init script
This commit is contained in:
parent
530f7b8421
commit
c25f850601
@ -1,24 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2004 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
opts="start stop"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
need logger
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting DHCP server"
|
|
||||||
start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping DHCP server"
|
|
||||||
start-stop-daemon --stop --quiet --pidfile /var/run/dhcpd.pid
|
|
||||||
rm -f /var/state/dhcp/dhcpd.leases
|
|
||||||
touch /var/state/dhcp/dhcpd.leases
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2004 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
opts="start stop"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
need logger
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting DHCP server"
|
|
||||||
start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping DHCP server"
|
|
||||||
start-stop-daemon --stop --quiet --pidfile /var/run/dhcpd.pid
|
|
||||||
rm -f /var/state/dhcp/dhcpd.leases
|
|
||||||
touch /var/state/dhcp/dhcpd.leases
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2004 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
opts="start stop"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
need logger
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting DHCP server"
|
|
||||||
start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping DHCP server"
|
|
||||||
start-stop-daemon --stop --quiet --pidfile /var/run/dhcpd.pid
|
|
||||||
rm -f /var/state/dhcp/dhcpd.leases
|
|
||||||
touch /var/state/dhcp/dhcpd.leases
|
|
||||||
eend $?
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user