mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
agent: cleanup
This commit is contained in:
committed by
Aiden McClelland
parent
b908967ac4
commit
a122c4a058
@@ -56,7 +56,7 @@ getServerR = handleS9ErrT $ do
|
|||||||
ssh <- readFromPath settings sshKeysFilePath >>= parseSshKeys
|
ssh <- readFromPath settings sshKeysFilePath >>= parseSshKeys
|
||||||
wifi <- WpaSupplicant.runWlan0 $ liftA2 WifiList WpaSupplicant.getCurrentNetwork WpaSupplicant.listNetworks
|
wifi <- WpaSupplicant.runWlan0 $ liftA2 WifiList WpaSupplicant.getCurrentNetwork WpaSupplicant.listNetworks
|
||||||
specs <- getSpecs settings
|
specs <- getSpecs settings
|
||||||
welcomeAck <- fmap isJust . lift . runDB . Persist.get $ WelcomeAckKey agentVersion
|
welcomeAck <- fmap isJust . lift . runDB . Persist.get $ WelcomeAckKey agentVersion
|
||||||
|
|
||||||
let sid = T.drop 7 $ specsNetworkId specs
|
let sid = T.drop 7 $ specsNetworkId specs
|
||||||
|
|
||||||
|
|||||||
@@ -46,5 +46,3 @@ instance PathPiece Version where
|
|||||||
instance PathPiece VersionRange where
|
instance PathPiece VersionRange where
|
||||||
toPathPiece = show
|
toPathPiece = show
|
||||||
fromPathPiece = hush . Atto.parseOnly parseRange
|
fromPathPiece = hush . Atto.parseOnly parseRange
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user