summaryrefslogtreecommitdiffstats
path: root/server/modules/local_accounts/opt/openslx/scripts/local_accounts-cron_script
blob: 8d38401ac2e17a95bc7c5683f13c6e70e75e0e5d (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/ash

# create .patches for next session

if [ -d /home/openslx ]; then
	for file in passwd shadow group; do
		diff -u /home/openslx/.$file.backup /etc/$file > /home/openslx/.$file.patch
	done
fi