Commit Graph

132 Commits (7582ca6b734180a4200af8994ac85f848070985f)

Author SHA1 Message Date
David Kebler b9f98d36f4 moving host and network directories out of /any 2023-12-14 21:09:19 -08:00
David Kebler 21dc81b1da add bash template library 2023-12-14 17:33:05 -08:00
David Kebler 9157278eb0 ignore .inst and .uninst files
add systemd loginctl commands
btrfs find subvolumes
2023-12-14 13:59:24 -08:00
David Kebler f2a9d64eab use command -v instead of which 2023-03-20 10:37:45 -07:00
David Kebler ba63cf586c fix: use /etc/hostname 2023-03-19 12:12:18 -07:00
David Kebler 2c73b1dc8d ignore vscode workspace 2023-03-19 12:08:01 -07:00
David Kebler 24e229f993 fix handle no /etc/host file like inside docker container 2023-03-19 12:08:01 -07:00
David Kebler 11ec123c0f fix handle no /etc/host file like inside docker container 2023-03-19 11:52:38 -07:00
David Kebler 4ff10e1ab2 fix subdirectory name 2023-03-19 11:48:53 -07:00
David Kebler 49fd2bcfa6 don't use hostnamectl for compatibility 2023-03-19 11:48:28 -07:00
David Kebler 21868df06b fix bug needed $subdir 2023-03-19 11:42:55 -07:00
David Kebler a1b3781c40 add functions
distro_sudo_group
change_user_password
user_group_id
add_recovery_user
rename_user
2023-03-19 11:35:13 -07:00
David Kebler 3ea7ae75d1 remove -C from install
for compatibility with alpine busybox version
2023-03-19 11:32:51 -07:00
David Kebler 9c379eda85 minor fix dir_copy 2023-03-12 10:46:05 -07:00
David Kebler 3c01d75c6a fix comment filename error to .lib 2023-03-12 10:41:31 -07:00
David Kebler c6dc8e4487 moved reload_user, add editor function, add wheel to groups check
add follow links option to _find
user hostnamectl to get host name
2023-02-23 10:03:47 -08:00
David Kebler 0d4481e291 refactor: more new session loading to anything under "load" subirectory (by default) still can add additional loading directories as before.
refactor of debug module using BASH_DEBUG as filename in user shell suddirectory  logs/

improved bindfs and btrfs modules
2023-02-22 11:39:34 -08:00
Kebler Network System Administrator 99c01d4bb7 add sudo module with Sudo function for running functions or alias as sudo
add install-shell-repo library for easy install of other shell repos (host, network)
2023-02-15 07:08:24 -08:00
Kebler Network System Administrator 2454f268ca minor modules cleanup 2023-02-07 11:21:38 -08:00
Kebler Network System Administrator 9eaef445af added beginning of btrfs module 2023-02-07 09:31:25 -08:00
Kebler Network System Administrator fa65a9f4a4 add basic user functions to get id name and to do basic checks is_uer is_user_group is_user_sudo 2023-02-07 09:26:05 -08:00
Kebler Network System Administrator 3be0565a06 move systemd funcstion to a module and then load back 2023-02-07 09:23:59 -08:00
Kebler Network System Administrator 7c9994afc9 add sdmt for showing systemd mounts
move apt alias to host for loading in a specific host
move old unneeded alias to archive
2023-02-07 09:18:52 -08:00
Kebler Network System Administrator a13395e205 fix: dont tee load log (llog) to console -shows on container boot 2023-01-22 08:29:41 -08:00
Kebler Network System Administrator a343849055 minor fix on user install script 2023-01-20 18:21:18 -08:00
Kebler Network System Administrator 1bce77c432 refactor user install and how $BASH_SHELL_USER_DIR is exported early. 2023-01-20 17:20:19 -08:00
Kebler Network System Administrator 2e4ecc3539 add str_before and str_after 2023-01-20 10:09:56 -08:00
Kebler Network System Administrator 96bb6113d7 fix bugs in install scripts 2023-01-18 18:36:28 -08:00
Kebler Network System Administrator bcba8bbfd4 refactor shell install scripts
add bindfs and new dir_copy script
2023-01-18 16:50:31 -08:00
Kebler Network System Administrator 96127ca89f move environment functions to env module from file module and helpers module
feat env_subs_file and support functions now operational
added shell_run function to module.lib so scripts can be run with the otherwise not loaded current shell
added remove empty lines function to helpers
2023-01-05 12:36:23 -08:00
Kebler Network System Administrator 45a936d65f remove bash alias aliases, rearrange some others 2023-01-01 10:29:04 -08:00
Kebler Network System Administrator e2cade08c7 add fileext function to helpers 2022-12-31 23:28:18 -08:00
Kebler Network System Administrator bf62d67339 refactor shell environmnet so user can have create customized shell.env
refactor default loading of networks
2022-12-30 09:18:39 -08:00
Kebler Network System Administrator 34311b8183 change shell-process-directory to .func 2022-12-26 10:24:51 -08:00
Kebler Network System Administrator 2aa4fa89a7 feat: substitute environment into a file using envsubst
feat  build_file  no added file comment by default use -f to enable
2022-12-26 10:21:30 -08:00
Kebler Network System Administrator 4318f9ca89 feat: add environment file helper functions 2022-12-24 12:34:03 -08:00
Kebler Network System Administrator 3e8be4da72 feat: separating network repo loading from base/host/user 2022-12-23 08:24:33 -08:00
Kebler Network System Administrator e02a7c71fb added add-ppa module. use instead of apt-add repository. 2022-10-24 18:14:58 -07:00
Kebler Network System Administrator 78ef8d0a88 add functions osinfo adduserid () fsudo () to basic 2022-10-24 18:13:58 -07:00
Kebler Network System Administrator 10fb48069b add module copy module_cp to module library 2022-10-24 18:12:33 -07:00
Kebler Network System Administrator 9d7e07a113 load only base and any host when coming from ssh 2022-05-02 10:46:41 -07:00
Kebler Network System Administrator 1778ddca3e add modules from scripting subdirectory 2022-04-06 12:27:26 -07:00
Kebler Network System Administrator ef8afa39c7 details for this commit to come 2022-03-28 10:02:17 -07:00
Kebler Network System Administrator 0d088cbcab added BASH_SHELL_DEV to list directories to look for modules 2022-03-09 17:02:39 -08:00
Kebler Network System Administrator 9988dd1ed1 feat: clean up shell.env, improved comments, added in BAHS_SHELL_DEV repo /opt/shell default
feat: add ability to follow link -L when finding modules.  Make is easier to have things loaded and still available for non-interactive shells via module_load
feat: profile,  better comments, refactored to have safe mode where no shell is loaded
2022-03-01 22:45:40 -08:00
Kebler Network System Administrator 51f73ccc02 feat: add module_print to module.lib will print the source of requested module 2022-02-26 17:34:33 -08:00
Kebler Network System Administrator a31e294a87 feat: add source bundle function which will convert any module_load command into the prepended source.
refactor: dirs module, cleanup
feat: added prepend_file function to file module
2022-02-26 17:19:37 -08:00
Kebler Network System Administrator d0209fc742 moved and refactored network-dirs and shell-process-directory 2022-02-21 11:54:03 -08:00
Kebler Network System Administrator 784e6711a8 add: tools to shell directory includes
feat: refactor repo organization that include corresponding changes to load script, module library plus shell.env
add: python based yaml parser
add:  functions isDir isFile to corresponding modules
2022-02-20 12:44:29 -08:00
Kebler Network System Administrator ec601fbb15 fix: change back to just 'shell' not .shell for user default shell directory as . is ignored by default,
feat: added 'user_exists' function
2021-12-31 17:38:58 -08:00