better first-run script
This commit is contained in:
parent
51090dc093
commit
d5d7f22240
1 changed files with 9 additions and 5 deletions
14
setup-x48ng-home.sh
Normal file → Executable file
14
setup-x48ng-home.sh
Normal file → Executable file
|
@ -1,11 +1,15 @@
|
|||
mkdir -p ~/.x48ng
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cp @PREFIX@/share/x48ng/ROMs/gxrom-r ~/.x48ng/rom.dump
|
||||
cp ~/.x48ng/rom.dump ~/.x48ng/rom
|
||||
TARGET=${TARGET:-.x48ng}
|
||||
|
||||
cd ~/.x48ng
|
||||
mkdir -p ~/${TARGET}
|
||||
|
||||
cp @PREFIX@/share/x48ng/ROMs/gxrom-r ~/${TARGET}/rom.dump
|
||||
cp ~/${TARGET}/rom.dump ~/${TARGET}/rom
|
||||
|
||||
cd ~/${TARGET}
|
||||
|
||||
@PREFIX@/share/x48ng/mkcard 128K port1
|
||||
@PREFIX@/share/x48ng/mkcard 4M port2
|
||||
|
||||
@PREFIX@/bin/x48ng -initialize
|
||||
@PREFIX@/bin/x48ng -initialize -home ${TARGET}
|
||||
|
|
Loading…
Add table
Reference in a new issue