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