8000 Merge old-state to master by 4rkal · Pull Request #8 · 4rkal/MoneroOS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Merge old-state to master #8

Merged
merged 5 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ This is a basic TODO list. If you have any recommendations please don't hesitate
- [ ] More user-friendly guides (Windows, etc.)
- [ ] <a href="https://github.com/Bendr0id/xmrigCC">XMRigCC</a> support
- [x] <a href="https://p2pool.io/#pool">P2Pool</a> / <a href="https://p2pool.io/mini/#pool">P2Pool-Mini</a> support and/or instructions
- [ ] Automatic updates for p2pool
- [ ] Automatic updates for p2pool
- [ ] NTFS for windows read/write and auto copy to COWMOS
- [ ] Installation wizard on first boot

## Support/Feedback
If you need assistance with anything or want to leave some feedback, here are the ways you can get in touch with with me:
Expand Down
1 change: 1 addition & 0 deletions airootfs/root/.automated_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ automated_script ()
if [[ $(tty) == "/dev/tty1" ]]; then
automated_script
fi
./control.sh
./bar.sh
3 changes: 3 additions & 0 deletions airootfs/root/bar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ main (){
window MoneroOS "red"
append "`date`"
addsep
append "IP: `ip addr show | grep -oP 'inet\s+\K[\d.]+' | awk '!/^127.0.0.1/'`"
addsep
append_tabbed "Up since|`uptime | cut -f1 -d"," | sed 's/^ *//' | cut -f3- -d" "`" 2 "|"
endwin

Expand All @@ -20,6 +22,7 @@ main (){
window "XMRig status" "red"
append "`journalctl -n 15 -u xmrig.service`"
endwin



}
Expand Down
6 changes: 6 additions & 0 deletions airootfs/root/control.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
NTFS_FILE=/run/archiso/cowspace/ntfs
if [ -f "$NTFS_FILE" ]; then
echo "Copying data from NTFS partion"
mount -L NTFS /mnt/ntfs
cp -r /mnt/ntfs/* /run/archiso/cowspace/
fi
12 changes: 12 additions & 0 deletions airootfs/root/ntfs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
NTFS_FILE=/run/archiso/cowspace/ntfs
if (whiptail --title "MoneroOS Configuration Wizard" --yesno "Do you want to copy configuration data from an NTFS partion? (do this if you have followed the windows installation)" 8 78); then
whiptail --title "MoneroOS Configuration Wizard" --msgbox "This script will now try to mount any NTFS partitions and copy all the data to COWMOS"
mkdir -p /mnt/ntfs
echo "Creating MountPoint"
mount -L NTFS /mnt/ntfs
echo "Copying data"
cp -r /mnt/ntfs/* /run/archiso/cowspace/
touch /run/archiso/cowspace/ntfs
echo "Restarting p2pool and xmrig"
systemctl restart p2pool xmrig
fi
0