![]() |
Problem: Replaced /etc/osso-af-init/real-af-base-apps
Hi,
in my efforts to add GPE-calendar to /etc/osso-af-init/real-af-base-apps I accidentally replaced its original content. As I couldn't add the line /usr/bin/gpe-calendar & to the real-af-base-apps (not even with emelFM2 started from Terminal after sudo gainroot) I thought "Hey there was this command in the host mode thread to add content to a file" Therefore I used echo "/usr/bin/gpe-calendar &" > /etc/osso-af-init/real-af-base-apps I thought this command appends the given text to a file, but instead it replaces everything. Now the real-af-base-apps only contains gpe-calendar. Does anybody know from where I could get the original content of this file for OS2008? Thanks Franko30 |
Re: Problem: Replaced /etc/osso-af-init/real-af-base-apps
I really recommend anyone messing with anything in the /etc/osso-af-init/ directory to only be working from a mmc install. You mess that stuff up and you can't always reboot:
Here is the contents of that file: Code:
#!/bin/sh |
Re: Problem: Replaced /etc/osso-af-init/real-af-base-apps
Looks like you learned the hard way.
echo bleh > file.txt, replaces it echo bleh >> file.txt, appends it. |
Re: Problem: Replaced /etc/osso-af-init/real-af-base-apps
Hi,
I know I messed up. It's the first time in about 3 years I made a seriuos Linux mistake without having backed up the relevant files first. FYI I was able to restart my tablet, with GPE starting up automatically (as it was the only entry in real-af-base-apps). The only pproblem I encountered so far was that the standard movie/audio player stopped playing files (although it starts up). Does anybody know which part of the real-af-base-apps might be relevant for this behaviour? Thanks again for the help - it saved me from re-flashing and re-installing all the apps and my saved data... Cheers Franko30 |
Re: Problem: Replaced /etc/osso-af-init/real-af-base-apps
Quote:
Code:
if [ -x $AF_INIT_DIR/osso-media-server.sh ]; then |
Re: Problem: Replaced /etc/osso-af-init/real-af-base-apps
Well, I just said what I did about backing up because I've hacked up those files so many times in so many different ways. Can't help myself. But I've also got caught in a reboot cycle a couple of times and since it was only on my flash card, it was an easy fix.
Glad you could boot and got it fixed though. :) |
All times are GMT. The time now is 04:04. |
vBulletin® Version 3.8.8