Rework (#94)
* split * split2 * more splitting * working * towards working * menu changes * run through prepare * minorfix * octoprint_generic * break in template * replace daemonpath with octoexec * move first install to instance * move BASE to instance * instance fix * double period * damn loop! * add camera to deploy * fix camera * toward functional * main_menu if not ready * not equal or -ne? * template copy * clean ups * byid camera detect * do byid detect by default * classwebcam * classicwebcam * appned_value camera work * use users for modification in cameras * fancy colors * updating colors * status menu colors and cams * surpress errors on no files * remove most logging * dnf mods * selinux * redirect error output to /dev/null * package cleanup * remove udev, cloud * octopi update * resource prepare from menu * quick fix * pacman fix * more echos * add udev flag in /etc/octoprint_deploy * opensuse fixes * zypper, minor fixes * change_streamer * diagnostics, octoprint_cameras, etc * diagnostic menu * logging for diagnostics * add config.yaml to diagnostics * add logging for config.yaml * readme work, add deb_pacakges for octopi, * README * port fixing * port fixes * add deb_packages command for troubleshooting * fix ports * add octopi flag, I fucking hate octopi * udev rule work * add/remove udev * menu fix * menu fixes * add detect printer for add_udev * better detection for remove_udev * remove udev * working on sed for udev * fixed udev remove * camera udev * add instace to add_udev_camera * readme, cleanup * choose what parts of template to copy * rsync as user * additionalPorts * remove cameras from camera list
This commit is contained in:
23
plugins.sh
23
plugins.sh
@@ -1,14 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
install_plugin() {
|
||||
echo "Installing $plugin...." | log
|
||||
echo "Installing $plugin...."
|
||||
$OCTOPIP install "$plugin_path"
|
||||
}
|
||||
|
||||
plugin_menu() {
|
||||
echo
|
||||
echo
|
||||
PS3='Select recommended plugins to install: '
|
||||
get_settings
|
||||
PS3="${green}Select recommended plugins to install: ${white}"
|
||||
readarray -t plugins < <(cat $SCRIPTDIR/plugins_list | sed -n -e 's/^plugin:\(.*\) path:.*/\1/p')
|
||||
plugins+=("All")
|
||||
plugins+=("Quit")
|
||||
@@ -37,21 +38,3 @@ plugin_menu() {
|
||||
|
||||
}
|
||||
|
||||
plugin_menu_cloud() {
|
||||
echo
|
||||
echo "You can setup cloud-based plugins at this time. Some will have to be configured"
|
||||
echo "in your template instance before making new instances."
|
||||
echo
|
||||
PS3='Select cloud-based plugins to install: '
|
||||
readarray -t plugins < <(cat $SCRIPTDIR/plugins_cloud | sed -n -e 's/^plugin:\(.*\) path:.*/\1/p')
|
||||
plugins+=("Quit")
|
||||
select plugin in "${plugins[@]}"
|
||||
do
|
||||
if [ "$plugin" == Quit ]; then
|
||||
break
|
||||
fi
|
||||
plugin_path=$(cat $SCRIPTDIR/plugins_cloud | sed -n -e "s/^plugin:$plugin path:\([[:graph:]]*\)/\1/p")
|
||||
install_plugin
|
||||
break
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user