Skip to content

Commit

Permalink
More RPi Zero compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Feb 19, 2019
1 parent 17aad5a commit 1f6305d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion build/055-wmic
@@ -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

Expand Down
7 changes: 7 additions & 0 deletions build/171-cockpit
@@ -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.