remove support for local.start and local.stop for bug #343709
The openrc ebuild now migrates these files to /etc/conf.d/local, so we do not need to support them.
This commit is contained in:
parent
2fa6bb0d48
commit
6d9137d6c4
@ -18,14 +18,6 @@ start()
|
|||||||
local_start
|
local_start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Support old configs
|
|
||||||
if [ -e @SYSCONFDIR@/conf.d/local.start ]; then
|
|
||||||
ewarn @SYSCONFDIR@/conf.d/local.start is depricated. Please migrate
|
|
||||||
ewarn the contents of this file to the local_start
|
|
||||||
ewarn function in @SYSCONFDIR@/conf.d/local and remove the file.
|
|
||||||
. @SYSCONFDIR@/conf.d/local.start
|
|
||||||
fi
|
|
||||||
|
|
||||||
eend $? "Failed to start local"
|
eend $? "Failed to start local"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,13 +29,5 @@ stop()
|
|||||||
local_stop
|
local_stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Support old configs
|
|
||||||
if [ -e @SYSCONFDIR@/conf.d/local.stop ]; then
|
|
||||||
ewarn @SYSCONFDIR@/conf.d/local.stop is depricated. Please migrate
|
|
||||||
ewarn the contents of this file to the local_stop
|
|
||||||
ewarn function in @SYSCONFDIR@/conf.d/local and remove the file.
|
|
||||||
. @SYSCONFDIR@/conf.d/local.stop
|
|
||||||
fi
|
|
||||||
|
|
||||||
eend $? "Failed to stop local"
|
eend $? "Failed to stop local"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user