mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
Fixed preinst certainty question
This commit is contained in:
parent
60042d4393
commit
756626db7b
2 changed files with 3 additions and 3 deletions
4
debian/preinst
vendored
4
debian/preinst
vendored
|
@ -135,11 +135,11 @@ print("\nYou can always change this setting in the config.")
|
||||||
prof = input("What profile would you like to use? [f/b/s]: ")
|
prof = input("What profile would you like to use? [f/b/s]: ")
|
||||||
|
|
||||||
if prof.lower().strip() == "f" or prof.lower().strip() == "fast":
|
if prof.lower().strip() == "f" or prof.lower().strip() == "fast":
|
||||||
cert = 1.5
|
cert = 4.2
|
||||||
elif prof.lower().strip() == "b" or prof.lower().strip() == "balanced":
|
elif prof.lower().strip() == "b" or prof.lower().strip() == "balanced":
|
||||||
cert = 2.8
|
cert = 2.8
|
||||||
elif prof.lower().strip() == "s" or prof.lower().strip() == "secure":
|
elif prof.lower().strip() == "s" or prof.lower().strip() == "secure":
|
||||||
cert = 4
|
cert = 2
|
||||||
|
|
||||||
# Write the result to disk so postinst can have a look at it
|
# Write the result to disk so postinst can have a look at it
|
||||||
with open("/tmp/howdy_picked_device", "w") as out_file:
|
with open("/tmp/howdy_picked_device", "w") as out_file:
|
||||||
|
|
|
@ -108,4 +108,4 @@ elif args.command == "snapshot":
|
||||||
elif args.command == "test":
|
elif args.command == "test":
|
||||||
import cli.test
|
import cli.test
|
||||||
else:
|
else:
|
||||||
print("Howdy 2.6.0")
|
print("Howdy 2.6.1")
|
||||||
|
|
Loading…
Reference in a new issue