From f36e11177342206419f22e46d7e121f0731cce9a Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Wed, 9 Nov 2022 00:51:47 -0500 Subject: fix session pid, add uninstall sh file --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 8cbb06c..716d9b1 100755 --- a/install.sh +++ b/install.sh @@ -6,11 +6,12 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then fi # Copy executable to bin -cp ./target/release/crab /bin/crab +cp ./target/release/crab /usr/bin/crab chown root:root /bin/crab chmod 6755 /bin/crab # Set up config files cp pam /etc/pam.d/crab -cp -n conf /etc/crab.conf -chmod 660 /etc/crab.conf +mkdir /usr/share/crab +cp conf /usr/share/crab/crab.conf +chmod 660 /usr/share/crab/crab.conf -- cgit v1.2.3-freya