Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipe test #7

Merged
merged 28 commits into from
Jul 28, 2023
Merged

pipe test #7

merged 28 commits into from
Jul 28, 2023

Conversation

Tearran
Copy link
Member

@Tearran Tearran commented Jul 16, 2023

can pipe see_ functions to jampi-config so show dialog or whiptail depending on installed.

./config.sh | ./jampi-config
will display the help list

Tearran and others added 25 commits July 12, 2023 08:36
	deleted:    bin/cpu_test.sh
	new file:   bin/jampi-config
	modified:   lib/configng/cpu.sh
	new file:   lib/configng/storage.sh
    iterating sourcing libraies. migrated Run7ZipBenchmark() from armban monitor.
    added a basic api to call
	modified:   lib/configng/system.sh
	modified:   bin/configng.sh
	new file:   lib/configng/board_led.sh
	modified:   lib/configng/cpu.sh
	deleted:    lib/configng/system.sh
	renamed:    lib/configng/storage.sh -> lib/configng/vdrive.sh

    set funtion groups as files

    added change systems Board led behavor  https://armbian.atlassian.net/browse/AR-449
    tested arguments cpu, heartbeat, and none
    examples none, cpu, or pass arument some handeling.

    added banchymark group
    a migrated armbianmonitor function
    running armbianmonitor -m
    added system d boot time funtions.

    changed storage.sh catagory to vdrive.sh group
	renamed:    lib/configng/benchymark.sh -> lib/config/benchymark.sh
	renamed:    lib/configng/board_led.sh -> lib/config/board_led.sh
	renamed:    lib/configng/cpu.sh -> lib/config/cpu.sh
	renamed:    lib/configng/vdrive.sh -> lib/config/extra_drives.sh
	deleted:    src/
    ajusted code for new names
	modified:   lib/config/benchymark.sh
ir toggle arbian-config netwokr/ir
@Tearran
Copy link
Member Author

Tearran commented Jul 17, 2023

Group file are related task functions to replace armbian-config funtions.
All group files have been tested and produce expected results.

jampi-config check if whiptail or dialog is installed display a ok mssg window.
useage $echo "this is jampi-config ok window" | jampi-config
newt wiptail results
Added group file desktops.sh is for:

Added group file boardled.sh for

  • board led control AR-449
  • 4 use case 3 common 1 advanced
    • see_sysled without optons sows list of options some options would be [ cpu | cpu0 | cpu1 | heartbeat ]
    • config.sh foo boardled::see_sysled_beat will set led to heartbeat

Renamed group file vdrive to extradrive.sh for

  • AR-1001
  • external drive install related

Add group file io.sh for

  • install 3rd party for ir remote support
  • gpio , i2c, use, etc

group file benchymark.sh for

  • system benchmark tools including armbianmonitor

jampi-config changed to display ok mssg for see_ functions with whiptail or dialog depending on installed

piping config.sh | jampi-config results an ok massage with whiptail or dialog depending on installed of the cli command list

Tearran added 3 commits July 16, 2023 22:51
	renamed:    lib/config/extra_drives.sh -> lib/config/extradrives.sh
    edits comments and renames
	new file:   lib/config/iolocal.sh
	new file:   lib/config/ioremote.sh
	new file:   lib/config/iowirless.sh
@Tearran Tearran self-assigned this Jul 18, 2023
@Tearran Tearran requested a review from sgjava July 18, 2023 17:19
Copy link
Member

@igorpecovnik igorpecovnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Tearran Tearran merged commit 276cc30 into armbian:main Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants