smb bad
This commit is contained in:
parent
fada7e988b
commit
f789d8daec
3 changed files with 4 additions and 19 deletions
|
|
@ -63,9 +63,9 @@ def l --wrapped [path: path = ".", ...rest] {
|
|||
alias list-automounts = systemctl list-units --type=automount
|
||||
|
||||
def remount [] {
|
||||
let reload = list-automounts | detect columns -n | get column0 | input list --multi
|
||||
let reload = list-automounts | detect columns --guess | drop 5 | get DESCRIPTION | input list --multi
|
||||
for mount in $reload {
|
||||
systemctl restart $mount
|
||||
sudo systemctl restart $mount
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue