Displaying 1 result from an estimated 1 matches for "start_ovirt_firstboot".
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...rt-firstboot
+++ b/scripts/ovirt-firstboot
@@ -28,18 +28,18 @@
. /usr/libexec/ovirt-functions
prog=ovirt-firstboot
-lockfile=/var/lock/subsys/$prog
+VAR_SUBSYS_OVIRT_FIRSTBOOT=/var/lock/subsys/$prog
trap '__st=$?; stop_log; exit $__st' 0
trap 'exit $?' 1 2 13 15
-start ()
+start_ovirt_firstboot ()
{
if ! is_firstboot && ! is_auto_install && ! is_upgrade; then
return
fi
-
- touch $lockfile
+
+ touch $VAR_SUBSYS_OVIRT_FIRSTBOOT
# by default in standalone, disable collectd until server is configured
service collectd stop > /dev/null 2>...