Rename config script
This commit is contained in:
parent
3291928a11
commit
1ba4113e56
12 changed files with 13 additions and 13 deletions
scripts/Common/OS
|
@ -1,7 +1,7 @@
|
|||
#!/bin/env fish
|
||||
set -l dir (status dirname)
|
||||
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
|
||||
source "$dir/../Scripts/config.fish"
|
||||
source "$dir/../Scripts/settings.fish"
|
||||
source "$dir/../Scripts/hooks.fish"
|
||||
|
||||
if [ (id -u) -eq 0 ]
|
||||
|
@ -79,7 +79,7 @@ else
|
|||
|
||||
runHook initializeUsers || begin
|
||||
if [ -n "$deployScript" ]
|
||||
source "$dir/../Scripts/config.fish"
|
||||
source "$dir/../Scripts/settings.fish"
|
||||
|
||||
for name in (getUsers | jq '.[]' --raw-output0 | string split0)
|
||||
echo "Configuring user `$name`..."
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/env fish
|
||||
function runSetup
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../Scripts/config.fish"
|
||||
source "$dir/../Scripts/settings.fish"
|
||||
source "$dir/../Scripts/hooks.fish"
|
||||
|
||||
if [ -z "$CONFIG_NAME" ]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/env fish
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../Scripts/config.fish"
|
||||
source "$dir/../Scripts/settings.fish"
|
||||
set -l users (getUsers)
|
||||
|
||||
echo "Creating users..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue