aboutsummaryrefslogtreecommitdiff
path: root/personal/shinit/build
blob: 5baae9da1fd39d6a87e539ac6ebc50fd396058b7 (plain)
1
2
3
4
5
6
7
#!/bin/sh -e

make DESTDIR="$1" PREFIX=/usr install

install -Dm755 -t "$1/usr/bin" poweroff
ln -s poweroff "$1/usr/bin/reboot"
ln -s shinit "$1/usr/bin/init"