From b66860109ee59d3efcd6323c0c48a074122d1e93 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 28 Mar 2024 20:00:44 +0100 Subject: gathering up all the shit i've made so far --- userbar.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 userbar.sh (limited to 'userbar.sh') diff --git a/userbar.sh b/userbar.sh new file mode 100755 index 0000000..606d5de --- /dev/null +++ b/userbar.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +for file in /home/*/public_html/index.html; do + cmp -s "$file" /etc/skel/public_html/index.html + if [ $? -eq 1 ]; then + user=${file##/home/} + user=${user%%/*} + printf '