diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-19 01:47:44 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-19 01:47:44 +0300 |
commit | 706c708b5aac148cd323a7f6b40513ba756ef45e (patch) | |
tree | 2a9c963283378af3c7e04ba2e4683ccbd220b978 /personal/shinit/build | |
parent | c05ab7845f241547ab8607a91db1942617bc3d4e (diff) | |
download | repository-706c708b5aac148cd323a7f6b40513ba756ef45e.tar.gz |
move to personal
Diffstat (limited to 'personal/shinit/build')
-rwxr-xr-x | personal/shinit/build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/personal/shinit/build b/personal/shinit/build new file mode 100755 index 0000000..5baae9d --- /dev/null +++ b/personal/shinit/build @@ -0,0 +1,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" |