Skip to content
Permalink
Browse files

Clean apt before update, fix rc.local

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jul 8, 2019
1 parent 7eb87be commit 05d63de06d817efe11513da3a674ad43055b72cc
Showing with 2 additions and 1 deletion.
  1. +2 −1 fixes.sh
@@ -40,6 +40,7 @@
echo "Done."

# Update apt here so we don't have to do it below
apt clean
apt update --allow-releaseinfo-change

# using hard file location rather than symlink as symlink may not exist yet on older versions
@@ -416,7 +417,7 @@ if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.5'")}') )); then

# enable rc.local service if not enabled (ie., Rock64)
if [[ ! -e /etc/systemd/system/rc-local.service ]]; then
/root/nems/nems-admin/build/013-rc.local
/root/nems/nems-admin/build/009-rc_local
/root/nems/nems-admin/build/999-cleanup
fi

0 comments on commit 05d63de

Please sign in to comment.
You can’t perform that action at this time.