]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - src/scripts/settime
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / src / scripts / settime
index 0bfcf3edf606b4f3397dd5dc434cc19daee90868..2d181659b1015b43bc1743b90438e60f1356b0f4 100644 (file)
@@ -1,15 +1,23 @@
 #!/bin/sh
-#
-# IPCop CGIs
-#
-# This file is part of the IPCop Project
-# 
-# This code is distributed under the terms of the GPL
-#
-# (c) Eric Oberlander June 2002
-# (c) Eric Oberlander December 2002 - internationalisation added
-#
-# /usr/local/bin/settime
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
 
 ongreen=1
 green=$(cat /var/ipfire/ethernet/settings | grep GREEN_NETADDRESS)
@@ -62,7 +70,7 @@ if [ -n "$1" ]; then
                                *  ) logger -t ipfire "ntpdate error" ;;
                        esac
                fi
-       fi              
+       fi
 else
        echo Missing parameter
 fi