saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
19
init.d/tmpfiles.setup
Executable file
19
init.d/tmpfiles.setup
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Released under the 2-clause BSD license.
|
||||
|
||||
description="set up tmpfiles.d entries"
|
||||
|
||||
depend()
|
||||
{
|
||||
need localmount
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "setting up tmpfiles.d entries"
|
||||
/lib64/rc/sh/tmpfiles.sh --exclude-prefix=/dev --create --remove \
|
||||
${tmpfiles_opts}
|
||||
eend $?
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user