Skip to content
Permalink
Browse files

More RPi Zero compatibility

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 19, 2019
1 parent 17aad5a commit 1f6305dbe0319a17520df5b40556ec6aeabfb719
Showing with 7 additions and 1 deletion.
  1. +0 −1 build/055-wmic
  2. +7 −0 build/171-cockpit
@@ -1,5 +1,4 @@
#!/bin/bash
echo $0 > /var/www/html/index.html
# Thanks to Ryan Siegel for the contribution on NEMS 1.2.1
# Updated for NEMS 1.5 since openvas stopped distributing the package

@@ -1,9 +1,16 @@
#!/bin/bash

## Remove Cockpit theme and replace with symlink to the NEMS theme
platform=$(/usr/local/bin/nems-info platform)
if [[ $platform = "0" ]] ||
[[ $platform = "1" ]]; then
echo "Incompatible SBC. Leaving Cockpit off."
else

if [[ -d /usr/share/cockpit/branding/debian/ ]]; then
rm -rf /usr/share/cockpit/branding/debian
fi
mkdir -p /usr/share/cockpit/branding/debian
cp -f /root/nems/nems-migrator/data/1.4/cockpit/branding/* /usr/share/cockpit/branding/debian/

fi

0 comments on commit 1f6305d

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