Permalink
Browse files

Fix missing carriage return in rc.local for Pine64

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 26, 2018
1 parent a7d7e54 commit eabed4bd632f10c0764376fea690ba2d079c4260
Showing with 1 addition and 1 deletion.
  1. +1 −1 nems-cleanup.sh
@@ -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

0 comments on commit eabed4b

Please sign in to comment.