Skip to content

Commit

Permalink
log debug output into /tmp/log/lime-config.log
Browse files Browse the repository at this point in the history
Reported-by: Ilario Gelmetti <ilario.gelmetti@sns.it>
  • Loading branch information
altergui committed Sep 2, 2014
1 parent 67238b6 commit 6ea4ce1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/lime-system/files/etc/uci-defaults/90_lime-config
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
echo "Configuring LiMe for first boot..." | tee /tmp/lime-config.log
lua /usr/bin/lime-config | tee -a /tmp/lime-config.log
echo "###### uci changes generated by lime-config run: ######" >> /tmp/lime-config.log
uci changes >> /tmp/lime-config.log
mkdir -p /tmp/log/
echo "Configuring LiMe for first boot..." | tee /tmp/log/lime-config.log
lua /usr/bin/lime-config | tee -a /tmp/log/lime-config.log
echo "###### uci changes generated by lime-config run: ######" >> /tmp/log/lime-config.log
uci changes >> /tmp/log/lime-config.log
uci commit
exit 0

1 comment on commit 6ea4ce1

@ilario
Copy link
Member

@ilario ilario commented on 6ea4ce1 Sep 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

Please sign in to comment.