Skip to content

Add optional serial number to file#252

Merged
guysoft merged 4 commits into
guysoft:develfrom
xvilo:patch-2
Sep 12, 2018
Merged

Add optional serial number to file#252
guysoft merged 4 commits into
guysoft:develfrom
xvilo:patch-2

Conversation

@xvilo

@xvilo xvilo commented Sep 12, 2018

Copy link
Copy Markdown
Contributor

This will give one the ability to add {serial} to the URL. This will be replaced with the PI's serial number

@xvilo

xvilo commented Sep 12, 2018

Copy link
Copy Markdown
Contributor Author

Should be fine now :)

Comment thread src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser Outdated
@guysoft

guysoft commented Sep 12, 2018

Copy link
Copy Markdown
Owner

Fixes #251

@guysoft guysoft merged commit 0416d6b into guysoft:devel Sep 12, 2018
@xvilo

xvilo commented Sep 12, 2018

Copy link
Copy Markdown
Contributor Author

@guysoft for future refrence, just add another variable with data you want and add -e "s/search-regex/${NEW_VAR}/g to current sed command.

@lippoliv

lippoliv commented Oct 2, 2018

Copy link
Copy Markdown

I had Problems with your regex on an RaspberryPI 3, I used this to get it running

cat /proc/cpuinfo | perl -n -e '/^Serial[^:]*: ([0-9a-f]{16})$/ && print "$1\n"'

@xvilo

xvilo commented Oct 2, 2018

Copy link
Copy Markdown
Contributor Author

Yea, I had issues too. Didn't had the time to fix, investigate and report it :P

@guysoft

guysoft commented Oct 2, 2018

Copy link
Copy Markdown
Owner

@lippoliv Can you make a PR please.

@guysoft

guysoft commented Apr 8, 2024

Copy link
Copy Markdown
Owner

Also this should be documented in the wiki

dwarf6 pushed a commit to dwarf6/FullPageOS64 that referenced this pull request Feb 19, 2026
Add optional serial number to file Fixes guysoft#251
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.

4 participants