X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fsysvinit;h=4ca834e15227af6f9188e13a215832b5174addd6;hb=14b8b7248a8be82f4073da3a5b6658517ec44a0b;hp=4a80bd88b86230e00873c2bdd6776ab8007594a9;hpb=fc8e13fb0303c69abe0ac9eacf6c604b735287b3;p=hvlinux.git diff --git a/stage2/pkg/sysvinit b/stage2/pkg/sysvinit index 4a80bd8..4ca834e 100644 --- a/stage2/pkg/sysvinit +++ b/stage2/pkg/sysvinit @@ -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} +}