add libesv
This commit is contained in:
parent
43e009286a
commit
970cc8e411
34
README
Normal file
34
README
Normal file
@ -0,0 +1,34 @@
|
||||
+---------------------------+
|
||||
| [ ⚙ ] Everest Tools [ ⚙ ] |
|
||||
+---------------------------+
|
||||
|
||||
Tools for Everest Linux that were too small for their own repositories
|
||||
|
||||
+---------------------------+
|
||||
| [ ⤓ ] Installation [ ⤓ ] |
|
||||
+---------------------------+
|
||||
|
||||
Obtain the source tree:
|
||||
|
||||
$ git clone https://git.everestlinux.org/EverestLinux/everest-tools
|
||||
|
||||
Install all of the tools
|
||||
|
||||
$ mv install.conf.def install.conf
|
||||
# ./INSTALL.sh
|
||||
|
||||
OR Install only certain tools
|
||||
|
||||
$ cd src/(tool-name)
|
||||
$ mv install.conf.def install.conf
|
||||
# ./INSTALL.sh
|
||||
|
||||
+---------------------------------+
|
||||
| [ 📁 ] Included Programs [ 📁 ] |
|
||||
+---------------------------------+
|
||||
|
||||
esv - Everest Service Manager
|
||||
∟ libesv - backend for esv
|
||||
gpc - Glacier Package Checker
|
||||
ecrypt - Everest Encryption Tools
|
||||
|
@ -27,6 +27,6 @@ INSTALL.sh as root
|
||||
+-------------------+
|
||||
|
||||
- ecrypt-genkey
|
||||
Create a randomized 64 character key
|
||||
- ecrypt-checkkey
|
||||
|
||||
|
||||
Check a file against an existing key
|
||||
|
41
src/esv/lib/libesv
Normal file
41
src/esv/lib/libesv
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
autostart() {
|
||||
while true
|
||||
do
|
||||
/etc/init.d/autostart/*/RUN
|
||||
done
|
||||
}
|
||||
|
||||
case $1 in
|
||||
autostart)
|
||||
autostart
|
||||
if [ "$?" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
-h|--help)
|
||||
printf "libesv - backend functions for esv\n"
|
||||
printf "note: this script should not be called directly by the user\n"
|
||||
printf "\n"
|
||||
printf "/usr/lib/libesv {autostart} - autostart all services in /etc/init.d/autostart\n"
|
||||
printf "note: 'autostart' should ONLY be called by esv at boot time\n"
|
||||
printf "\n"
|
||||
printf "/usr/lib/libesv {-h|--help} - show this message and exit\n"
|
||||
printf "/usr/lib/libesv {-v|--version} - show the version and exit\n"
|
||||
printf "\n"
|
||||
printf "this file is part of esv - everest service manager\n"
|
||||
exit 0
|
||||
;;
|
||||
-v|--version)
|
||||
printf "libesv v1.0.0\n"
|
||||
exit 0
|
||||
;;
|
||||
-*)
|
||||
printf "error in subprocess /usr/lib/libesv - no such option '$1'\n"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
printf "error in subprocess /usr/lib/libesv - no such option '$1'\n"
|
||||
exit 1
|
||||
esac
|
Loading…
Reference in New Issue
Block a user