Changeset 12768 in vbox for trunk/src/VBox/Additions/linux/installer/vboxadd-timesync.sh
- Timestamp:
- Sep 26, 2008 1:18:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-timesync.sh
r9108 r12768 46 46 system=gentoo 47 47 PIDFILE="/var/run/vboxadd-timesync" 48 elif [ -f /etc/slackware-version ]; then 49 system=slackware 50 PIDFILE="/var/run/vboxadd-timesync" 48 51 else 49 52 system=other … … 122 125 shift 123 126 fi 127 fi 128 129 if [ "$system" = "slackware" ]; then 130 daemon() { 131 $1 $2 132 } 133 134 killproc() { 135 killall $1 136 rm -f $PIDFILE 137 } 138 139 fail_msg() { 140 echo " ...fail!" 141 } 142 143 succ_msg() { 144 echo " ...done." 145 } 146 147 status() { 148 echo -n "Checking for vboxadd-timesync" 149 if [ -f /var/run/$1 ]; then 150 echo " ...running" 151 else 152 echo " ...not running" 153 fi 154 } 155 124 156 fi 125 157
Note:
See TracChangeset
for help on using the changeset viewer.