34 lines
600 B
Plaintext
34 lines
600 B
Plaintext
|
#!/sbin/runscript
|
||
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
# Distributed under the terms of the 2-clause BSD or 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:
|
||
|
#
|