Skip to content

Commit 9703960

Browse files
committed
Add example configuration for ShredOS. Update README.md in config_priv
1 parent 9ef9404 commit 9703960

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
config_priv/*
22
!config_priv/README.md
3-
!config_priv/lmde
3+
!config_priv/examples

config_priv/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ The updated configuration will be detected automatically.
77
Once you have created a new configuration or updated an old one, you can upload the changes to the repository and share the code here:
88
https://github.com/Mexit/MultiOS-USB/issues
99

10-
Example configuration:
11-
To use the example configuration file remove `-example` from `/MultiOS-USB/config_priv/lmde/lmde.cfg-example`
10+
To use the example configuration file remove `-example` from `/MultiOS-USB/config_priv/example/lmde.cfg-example`
11+
You can also create new directories to organize your configuration files.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ for isofile in $iso_dir/$iso_pattern; do
77
if [ -e "$isofile" ]; then
88
regexp --set=isoname "$iso_dir/(.*)" "$isofile"
99

10-
submenu "$isoname ->" "$isofile" {
10+
submenu "$isoname [config_priv] ->" "$isofile" {
1111
iso_path="$2"
1212
LOOPBACK "$iso_path"
1313
isocfg="findiso=$iso_path"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# shredos
2+
# https://github.com/PartialVolume/shredos.x86_64
3+
4+
iso_pattern="shredos-*_x86-64_*.iso"
5+
6+
for isofile in $iso_dir/$iso_pattern; do
7+
if [ -e "$isofile" ]; then
8+
regexp --set=isoname "$iso_dir/(.*)" "$isofile"
9+
10+
submenu "$isoname [config_priv] ->" "$isofile" {
11+
LOOPBACK "$2"
12+
root=(loop)
13+
14+
menuentry "ShredOS - custom config [edit to add more options]" {
15+
linux /boot/bzImage console=tty3 loglevel=3 # add here more options - see homepage
16+
}
17+
}
18+
fi
19+
done

0 commit comments

Comments
 (0)