Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix missing carriage return in rc.local for Pine64
  • Loading branch information
NEMS Linux committed Aug 26, 2018
1 parent a7d7e54 commit eabed4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nems-cleanup.sh
Expand Up @@ -210,7 +210,7 @@ nameserver 2001:4860:4860::8844
fi
if (( $platform == 44 )); then
# PINE64
addition="/root/nems/nems-admin/resize_rootfs/pine64"
addition="/root/nems/nems-admin/resize_rootfs/pine64\n"
if grep -q "exit" /etc/rc.local; then
# This file contains an exit command, so make sure our new command comes before it
/bin/sed -i -- 's,exit,'"$addition"'exit,g' /etc/rc.local
Expand Down

0 comments on commit eabed4b

Please sign in to comment.