added password rester-test
This commit is contained in:
parent
27878d90c2
commit
1cca79987d
@ -1,236 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg
|
|
||||||
width="128px"
|
|
||||||
height="128px"
|
|
||||||
viewBox="0 0 128 128"
|
|
||||||
version="1.1"
|
|
||||||
id="svg96"
|
|
||||||
sodipodi:docname="Sovran_SystemsOS_Updater_Iconv3.svg"
|
|
||||||
xml:space="preserve"
|
|
||||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
|
||||||
id="namedview98"
|
|
||||||
pagecolor="#505050"
|
|
||||||
bordercolor="#ffffff"
|
|
||||||
borderopacity="1"
|
|
||||||
inkscape:showpageshadow="0"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pagecheckerboard="1"
|
|
||||||
inkscape:deskcolor="#505050"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="5.2149125"
|
|
||||||
inkscape:cx="9.0126153"
|
|
||||||
inkscape:cy="64.430611"
|
|
||||||
inkscape:window-width="3440"
|
|
||||||
inkscape:window-height="1352"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="layer2" /><defs
|
|
||||||
id="defs67"><linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient936"><stop
|
|
||||||
style="stop-color:#1e8e11;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop932" /><stop
|
|
||||||
style="stop-color:#1bff00;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop934" /></linearGradient><linearGradient
|
|
||||||
id="linearGradient1028"
|
|
||||||
inkscape:swatch="solid"><stop
|
|
||||||
style="stop-color:#000000;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop1026" /></linearGradient><linearGradient
|
|
||||||
id="linearGradient998"
|
|
||||||
inkscape:swatch="solid"><stop
|
|
||||||
style="stop-color:#000000;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop996" /></linearGradient><radialGradient
|
|
||||||
id="radial0"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="131.914749"
|
|
||||||
cy="55.927143"
|
|
||||||
fx="131.914749"
|
|
||||||
fy="55.927143"
|
|
||||||
r="160"
|
|
||||||
gradientTransform="matrix(0.232034,-0.541475,-0.368794,-0.0298398,4.277749,118.95849)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:#00ff39;stop-opacity:1;"
|
|
||||||
id="stop2" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:#004a19;stop-opacity:1;"
|
|
||||||
id="stop4" /></radialGradient><radialGradient
|
|
||||||
id="radial1"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="525.587769"
|
|
||||||
cy="638.591797"
|
|
||||||
fx="525.587769"
|
|
||||||
fy="638.591797"
|
|
||||||
r="192"
|
|
||||||
gradientTransform="matrix(-0.107656,-0.225172,-0.327748,0.258343,373.87973,30.205086)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:#43b60b;stop-opacity:1;"
|
|
||||||
id="stop7" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:#0b88ff;stop-opacity:0.00829875;"
|
|
||||||
id="stop9" /></radialGradient><clipPath
|
|
||||||
id="clip1"><path
|
|
||||||
d="M 7 46 L 57 46 L 57 93 L 7 93 Z M 7 46 "
|
|
||||||
id="path12" /></clipPath><clipPath
|
|
||||||
id="clip2"><path
|
|
||||||
d="M 32.25 46.957031 C 19.6875 46.96875 9.085938 56.636719 7.503906 69.53125 C 9.0625 82.445312 19.667969 92.144531 32.25 92.160156 C 44.816406 92.148438 55.414062 82.480469 57 69.585938 C 55.441406 56.671875 44.835938 46.972656 32.25 46.957031 Z M 32.25 46.957031 "
|
|
||||||
id="path15" /></clipPath><radialGradient
|
|
||||||
id="radial2"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="131.914749"
|
|
||||||
cy="55.927143"
|
|
||||||
fx="131.914749"
|
|
||||||
fy="55.927143"
|
|
||||||
r="160"
|
|
||||||
gradientTransform="matrix(0.485163,-1.148584,-0.771115,-0.0632965,-47.124961,203.98857)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:rgb(92.941177%,20%,23.137255%);stop-opacity:1;"
|
|
||||||
id="stop18" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:rgb(63.921571%,27.843139%,72.941178%);stop-opacity:1;"
|
|
||||||
id="stop20" /></radialGradient><radialGradient
|
|
||||||
id="radial3"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="525.587769"
|
|
||||||
cy="638.591797"
|
|
||||||
fx="525.587769"
|
|
||||||
fy="638.591797"
|
|
||||||
r="192"
|
|
||||||
gradientTransform="matrix(-0.225099,-0.477638,-0.685291,0.548001,725.67923,15.723794)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:rgb(10.980392%,44.313726%,84.705883%);stop-opacity:1;"
|
|
||||||
id="stop23" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:rgb(20.784314%,51.764709%,89.411765%);stop-opacity:0.00829876;"
|
|
||||||
id="stop25" /></radialGradient><linearGradient
|
|
||||||
id="linear0"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
x1="22"
|
|
||||||
y1="37"
|
|
||||||
x2="62"
|
|
||||||
y2="37"
|
|
||||||
gradientTransform="matrix(1.4,0,0,1.4,-26.799973,2.491745)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:rgb(58.039218%,57.647061%,56.470591%);stop-opacity:1;"
|
|
||||||
id="stop28" /><stop
|
|
||||||
offset="0.0908155"
|
|
||||||
style="stop-color:rgb(87.058824%,86.666667%,85.490197%);stop-opacity:1;"
|
|
||||||
id="stop30" /><stop
|
|
||||||
offset="0.336093"
|
|
||||||
style="stop-color:rgb(60.392159%,60.000002%,58.823532%);stop-opacity:1;"
|
|
||||||
id="stop32" /><stop
|
|
||||||
offset="0.844326"
|
|
||||||
style="stop-color:rgb(76.47059%,75.294119%,72.941178%);stop-opacity:1;"
|
|
||||||
id="stop34" /><stop
|
|
||||||
offset="0.930505"
|
|
||||||
style="stop-color:rgb(87.058824%,86.666667%,85.490197%);stop-opacity:1;"
|
|
||||||
id="stop36" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:rgb(75.294119%,74.901962%,73.725492%);stop-opacity:1;"
|
|
||||||
id="stop38" /></linearGradient><radialGradient
|
|
||||||
id="radial4"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="-172.560638"
|
|
||||||
cy="28.569126"
|
|
||||||
fx="-172.560638"
|
|
||||||
fy="28.569126"
|
|
||||||
r="15.85742"
|
|
||||||
gradientTransform="matrix(1.560712,0,0,1.4252,300.69366,13.349996)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:rgb(100%,100%,100%);stop-opacity:0.358268;"
|
|
||||||
id="stop41" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:rgb(100%,100%,100%);stop-opacity:0.0944882;"
|
|
||||||
id="stop43" /></radialGradient><filter
|
|
||||||
id="alpha"
|
|
||||||
filterUnits="objectBoundingBox"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="1"
|
|
||||||
height="1"><feColorMatrix
|
|
||||||
type="matrix"
|
|
||||||
in="SourceGraphic"
|
|
||||||
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
|
|
||||||
id="feColorMatrix46" /></filter><mask
|
|
||||||
id="mask0"><g
|
|
||||||
filter="url(#alpha)"
|
|
||||||
id="g51"><rect
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="128"
|
|
||||||
height="128"
|
|
||||||
style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"
|
|
||||||
id="rect49" /></g></mask><clipPath
|
|
||||||
id="clip3"><rect
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="192"
|
|
||||||
height="152"
|
|
||||||
id="rect54" /></clipPath><g
|
|
||||||
id="surface382"
|
|
||||||
clip-path="url(#clip3)"><path
|
|
||||||
style=" stroke:none;fill-rule:nonzero;fill:rgb(27.058825%,21.176471%,21.568628%);fill-opacity:1;"
|
|
||||||
d="M 40 59.957031 C 26.191406 59.957031 15 71.152344 15 84.957031 C 15.011719 85.996094 15.085938 86.777344 15.222656 87.804688 C 15.222656 75.957031 27.421875 65.96875 40 65.957031 C 52.597656 65.972656 64.777344 75.957031 64.777344 87.859375 C 64.917969 86.816406 64.992188 86.011719 65 84.957031 C 65 71.152344 53.808594 59.957031 40 59.957031 Z M 40 59.957031 "
|
|
||||||
id="path57" /></g><radialGradient
|
|
||||||
id="radial5"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
cx="40"
|
|
||||||
cy="227"
|
|
||||||
fx="40"
|
|
||||||
fy="227"
|
|
||||||
r="28"
|
|
||||||
gradientTransform="matrix(0.575553,0,1.60551e-8,1.540703,8.977913,-280.78108)"><stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"
|
|
||||||
id="stop60" /><stop
|
|
||||||
offset="0.744626"
|
|
||||||
style="stop-color:rgb(98.039216%,98.039216%,98.039216%);stop-opacity:1;"
|
|
||||||
id="stop62" /><stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:rgb(87.450981%,87.450981%,87.450981%);stop-opacity:1;"
|
|
||||||
id="stop64" /></radialGradient>
|
|
||||||
|
|
||||||
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient936"
|
|
||||||
id="linearGradient938"
|
|
||||||
x1="-48.519272"
|
|
||||||
y1="18.511358"
|
|
||||||
x2="287.07454"
|
|
||||||
y2="18.511358"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="matrix(1.1020247,0,0,1.1097375,37.198581,-10.424856)" /></defs><path
|
|
||||||
style="fill:#f5f5f3;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
|
||||||
d="m 20,11.957031 h 88 c 4.41797,0 8,3.582031 8,8 V 108 c 0,4.41797 -3.58203,8 -8,8 H 20 c -4.417969,0 -8,-3.58203 -8,-8 V 19.957031 c 0,-4.417969 3.582031,-8 8,-8 z m 0,0"
|
|
||||||
id="path69" /><path
|
|
||||||
style="fill:url(#radial0);fill-rule:nonzero;stroke:none"
|
|
||||||
d="m 20,85.957031 h 88 v -66 H 20 Z m 0,0"
|
|
||||||
id="path71" /><path
|
|
||||||
style="fill:none;fill-rule:nonzero;stroke:none;fill-opacity:1"
|
|
||||||
d="m 20,85.957031 h 88 v -66 H 20 Z m 0,0"
|
|
||||||
id="path73" /><g
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer2"
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
transform="matrix(0.1816,0,0,0.1816,35.224187,79.037164)"><ellipse
|
|
||||||
fill="#54c147"
|
|
||||||
cx="168.64549"
|
|
||||||
cy="10.117889"
|
|
||||||
id="circle8314"
|
|
||||||
rx="184.91634"
|
|
||||||
ry="179.91556"
|
|
||||||
style="fill:url(#linearGradient938);fill-opacity:1;stroke-width:1.71591" /><polygon
|
|
||||||
fill="#ffffff"
|
|
||||||
points="46.678,120.299 63.562,96.402 96.977,121.718 145.084,50.79 168.752,69.02 103.583,164.647 "
|
|
||||||
id="polygon8316"
|
|
||||||
transform="matrix(1.7395866,0,0,1.6925423,-18.737581,-172.19767)" /></g></svg>
|
|
Before Width: | Height: | Size: 8.4 KiB |
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
bash -c "$(curl https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Update_Sovran_SystemsOS.sh)"
|
|
||||||
|
|
||||||
exit
|
|
@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Name=Sovran_SystemsOS Updater
|
|
||||||
Exec=/home/free/.Sovran_Systems/localscript_to_remote_updater.sh
|
|
||||||
Icon=/home/free/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg
|
|
@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
Welcome to the Sovran_SystemsOS Updater!
|
|
||||||
|
|
||||||
This updater will run through a few stages.
|
|
||||||
|
|
||||||
Be patient...
|
|
||||||
|
|
||||||
A couple windows will pop up during the process. Keep clicking "OK."
|
|
||||||
|
|
||||||
When it is finished, a final pop up will state "Complete! Please Reboot." and then you can reboot when ready.
|
|
||||||
|
|
||||||
All updates come from here: https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOSv2
|
|
||||||
|
|
||||||
Don't Trust, Verify!
|
|
||||||
|
|
||||||
After you have checked that the software is safe from the link above, then click "OK."
|
|
||||||
|
|
||||||
Enjoy!
|
|
@ -1,56 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -o nounset
|
|
||||||
|
|
||||||
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
|
|
||||||
zenity --text-info \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--width=1110 \
|
|
||||||
--height=710
|
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
#id=$(curl ifconfig.me)
|
|
||||||
|
|
||||||
ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 'cd /etc/nixos; nix flake update'
|
|
||||||
|
|
||||||
if [[ $? != 0 ]]; then
|
|
||||||
echo "Could not update flake -- exiting" |
|
|
||||||
zenity --text-info \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--width=1110 \
|
|
||||||
--height=710
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 "nixos-rebuild switch --impure" |
|
|
||||||
zenity --progress \
|
|
||||||
--no-cancel \
|
|
||||||
--auto-close \
|
|
||||||
--pulsate \
|
|
||||||
--title="Sovran_SystemsOS Updater"
|
|
||||||
|
|
||||||
if [[ $? != 0 ]]; then
|
|
||||||
echo "Could not Update Sovran_SystemsOS -- exiting" |
|
|
||||||
zenity --text-info \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--width=1110 \
|
|
||||||
--height=710
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
zenity --info \
|
|
||||||
--ellipsize \
|
|
||||||
--no-wrap \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--text="Complete! Please Reboot."
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,47 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
|
|
||||||
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
|
|
||||||
zenity --text-info \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--width=1110 \
|
|
||||||
--height=710
|
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
password=$(zenity --password --title="Sovran_SystemsOS Updater")
|
|
||||||
|
|
||||||
if [ $? -eq 1 ] ; then
|
|
||||||
|
|
||||||
exit 2
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
|
|
||||||
pushd /etc/nixos/
|
|
||||||
|
|
||||||
echo -e "$password" | sudo -S nix flake update
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
|
|
||||||
echo -e "$password" | sudo -S nixos-rebuild switch --impure |
|
|
||||||
zenity --progress \
|
|
||||||
--no-cancel \
|
|
||||||
--auto-close \
|
|
||||||
--pulsate \
|
|
||||||
--title="Sovran_SystemsOS Updater"
|
|
||||||
|
|
||||||
|
|
||||||
zenity --info \
|
|
||||||
--ellipsize \
|
|
||||||
--no-wrap \
|
|
||||||
--title="Sovran_SystemsOS Updater" \
|
|
||||||
--text="Complete! Please Reboot."
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
pushd ~/Downloads
|
|
||||||
|
|
||||||
wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip
|
|
||||||
|
|
||||||
unzip main.zip
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
mkdir ~/.Sovran_Systems
|
|
||||||
|
|
||||||
mv "/home/free/Downloads/packages/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems" /home/free/
|
|
||||||
|
|
||||||
mv "/home/free/Downloads/packages/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop" /home/free/.local/share/applications/
|
|
||||||
|
|
||||||
chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_updater.sh
|
|
||||||
|
|
||||||
rm -rf /home/free/Downloads/main.zip
|
|
||||||
|
|
||||||
rm -rf /home/free/Downloads/packages
|
|
||||||
|
|
||||||
exit
|
|
Loading…
Reference in New Issue
Block a user