diff options
author | Jordyn Carattini | 2016-08-24 17:53:10 -0500 |
---|---|---|
committer | Jordyn Carattini | 2016-08-24 17:53:10 -0500 |
commit | ec16c9cf4fe96efd8ccc187df83400a880887a21 (patch) | |
tree | 2d198ccc5de60435de20c78797e176e831727b31 /busybox-norootreboot.install | |
download | aur-ec16c9cf4fe96efd8ccc187df83400a880887a21.tar.gz |
created the package
Diffstat (limited to 'busybox-norootreboot.install')
-rw-r--r-- | busybox-norootreboot.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/busybox-norootreboot.install b/busybox-norootreboot.install new file mode 100644 index 000000000000..2d75985c038c --- /dev/null +++ b/busybox-norootreboot.install @@ -0,0 +1,16 @@ +post_install() { + groupadd --system busybox + chmod -v +s /usr/bin/busybox + chown root:busybox -v /usr/bin/busybox + gpasswd --add root busybox + echo "You might want to add your user to the 'busybox' group" +} + +post_remove() { + groupdel busybox +} + +post_upgrade() { + chmod -v +s /usr/bin/busybox + chown root:busybox -v /usr/bin/busybox +} |