Correction ajout usager au groupe shutdown
[hvlinux.git] / stage2 / pkg / sysvinit
index 4a80bd8..4ca834e 100644 (file)
@@ -17,3 +17,10 @@ hvbuild()
     make -j ${MAKEJOBS} -C src
     make -C src install
 }
+
+hvbuild_post()
+{
+    chown root:shutdown /sbin/{halt,poweroff,reboot,shutdown}
+    chmod 750 /sbin/{halt,poweroff,reboot,shutdown}
+    chmod u+s /sbin/{halt,poweroff,reboot,shutdown}
+}