saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-06-25 23:10:54 +02:00
committed by root
parent e788fdf3d7
commit 21bdf79af8
15 changed files with 230 additions and 0 deletions

33
init.d/._cfg0001_hprofile Executable file
View File

@@ -0,0 +1,33 @@
#!/sbin/runscript
# Copyright 2014 tclover <tokiclover@hprofile.project>
# Distributed under the terms of the GPL-2 license
# $Header: hprofile.initd,v 1.4 2014/10/10 13:05:23 -tclover Exp $
description="initialize hprofile boot profiles"
depend()
{
after modules
}
start()
{
for profile in $PROFILES; do
hprofile -f $profile
eend "$?" "Failed to start $profile profile"
done
return 0
}
stop()
{
for profile in $PROFILES; do
hprofile -s $profile
eend "$?" "Failed to stop $profile profile"
done
return 0
}
#
# vim:fenc=utf-8:ft=gentoo-init-d:ci:pi:sts=0:sw=4:ts=4:
#